pub struct DuckDuckGoPage {
pub query: String,
pub variant: DuckDuckGoVariant,
pub offset: usize,
pub category: DuckDuckGoCategory,
pub instant_answer: Option<InstantAnswer>,
pub results: Vec<SearchResultItem>,
pub related_searches: Vec<String>,
}Expand description
DuckDuckGo ページモデル(検索結果、即時回答、関連検索の統合)
Fields§
§query: String検索クエリ
variant: DuckDuckGoVariantフロントエンドバリアント
offset: usizeページネーションオフセット
category: DuckDuckGoCategory検索カテゴリ (Web, Images, Videos, News)
instant_answer: Option<InstantAnswer>即時回答 / ナレッジパネル(あれば)
results: Vec<SearchResultItem>検索結果リスト
関連検索キーワード一覧
Trait Implementations§
Source§impl Clone for DuckDuckGoPage
impl Clone for DuckDuckGoPage
Source§impl Debug for DuckDuckGoPage
impl Debug for DuckDuckGoPage
impl Eq for DuckDuckGoPage
Source§impl PartialEq for DuckDuckGoPage
impl PartialEq for DuckDuckGoPage
impl StructuralPartialEq for DuckDuckGoPage
Auto Trait Implementations§
impl Freeze for DuckDuckGoPage
impl RefUnwindSafe for DuckDuckGoPage
impl Send for DuckDuckGoPage
impl Sync for DuckDuckGoPage
impl Unpin for DuckDuckGoPage
impl UnsafeUnpin for DuckDuckGoPage
impl UnwindSafe for DuckDuckGoPage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.