pub struct InstantAnswer {
pub title: String,
pub description: String,
pub source_url: Option<String>,
pub source_name: Option<String>,
pub badge: String,
}Expand description
即時回答 / ナレッジパネル情報(Zero-click info / Instant Answer)
Fields§
§title: String見出し・タイトル
description: String概要・定義テキスト
source_url: Option<String>出典元 URL
source_name: Option<String>出典元名称(例: “Wikipedia”, “Official Docs”)
badge: Stringバッジラベル(例: “百科事典 / 百科辞書”, “公式ガイド”)
Trait Implementations§
Source§impl Clone for InstantAnswer
impl Clone for InstantAnswer
Source§impl Debug for InstantAnswer
impl Debug for InstantAnswer
impl Eq for InstantAnswer
Source§impl PartialEq for InstantAnswer
impl PartialEq for InstantAnswer
impl StructuralPartialEq for InstantAnswer
Auto Trait Implementations§
impl Freeze for InstantAnswer
impl RefUnwindSafe for InstantAnswer
impl Send for InstantAnswer
impl Sync for InstantAnswer
impl Unpin for InstantAnswer
impl UnsafeUnpin for InstantAnswer
impl UnwindSafe for InstantAnswer
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.