pub struct AnswerBox {
pub answer_type: String,
pub title: Option<String>,
pub answer: Option<String>,
pub snippet: Option<String>,
pub snippet_highlighted_words: Option<Vec<String>>,
pub link: Option<String>,
pub displayed_link: Option<String>,
}
Expand description
Answer box result
Fields§
§answer_type: String
§title: Option<String>
§answer: Option<String>
§snippet: Option<String>
§snippet_highlighted_words: Option<Vec<String>>
§link: Option<String>
§displayed_link: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AnswerBox
impl<'de> Deserialize<'de> for AnswerBox
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AnswerBox
impl RefUnwindSafe for AnswerBox
impl Send for AnswerBox
impl Sync for AnswerBox
impl Unpin for AnswerBox
impl UnwindSafe for AnswerBox
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