pub struct CitationWebSearchResultLocation {
pub cited_text: String,
pub encrypted_index: String,
pub title: Option<String>,
pub url: String,
}Expand description
Represents a web search result location citation.
This type is used to specify a citation that references web search results.
Fields§
§cited_text: StringThe text that was cited
encrypted_index: StringAn encrypted identifier for the web search result
title: Option<String>Optional title of the web page
url: StringThe URL of the web page containing the cited content
Implementations§
Trait Implementations§
Source§impl Clone for CitationWebSearchResultLocation
impl Clone for CitationWebSearchResultLocation
Source§fn clone(&self) -> CitationWebSearchResultLocation
fn clone(&self) -> CitationWebSearchResultLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for CitationWebSearchResultLocation
impl<'de> Deserialize<'de> for CitationWebSearchResultLocation
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
Source§impl PartialEq for CitationWebSearchResultLocation
impl PartialEq for CitationWebSearchResultLocation
Source§fn eq(&self, other: &CitationWebSearchResultLocation) -> bool
fn eq(&self, other: &CitationWebSearchResultLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CitationWebSearchResultLocation
Auto Trait Implementations§
impl Freeze for CitationWebSearchResultLocation
impl RefUnwindSafe for CitationWebSearchResultLocation
impl Send for CitationWebSearchResultLocation
impl Sync for CitationWebSearchResultLocation
impl Unpin for CitationWebSearchResultLocation
impl UnsafeUnpin for CitationWebSearchResultLocation
impl UnwindSafe for CitationWebSearchResultLocation
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