pub struct SearchAnswerCitation {
pub url: String,
pub title: String,
pub snippet: Option<String>,
}Expand description
A citation reference in a search answer.
Fields§
§url: StringSource URL.
title: StringSource title.
snippet: Option<String>Snippet from the source.
Trait Implementations§
Source§impl Clone for SearchAnswerCitation
impl Clone for SearchAnswerCitation
Source§fn clone(&self) -> SearchAnswerCitation
fn clone(&self) -> SearchAnswerCitation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SearchAnswerCitation
impl Debug for SearchAnswerCitation
Source§impl<'de> Deserialize<'de> for SearchAnswerCitation
impl<'de> Deserialize<'de> for SearchAnswerCitation
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 SearchAnswerCitation
impl RefUnwindSafe for SearchAnswerCitation
impl Send for SearchAnswerCitation
impl Sync for SearchAnswerCitation
impl Unpin for SearchAnswerCitation
impl UnsafeUnpin for SearchAnswerCitation
impl UnwindSafe for SearchAnswerCitation
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