pub struct AnnotationURLCitation {
pub end_index: usize,
pub start_index: usize,
pub title: String,
pub url: String,
}Expand description
A URL citation when using web search.
Fields§
§end_index: usizeThe index of the last character of the URL citation in the message.
start_index: usizeThe index of the first character of the URL citation in the message.
title: StringThe title of the web resource.
url: StringThe URL of the web resource.
Trait Implementations§
Source§impl Clone for AnnotationURLCitation
impl Clone for AnnotationURLCitation
Source§fn clone(&self) -> AnnotationURLCitation
fn clone(&self) -> AnnotationURLCitation
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 AnnotationURLCitation
impl Debug for AnnotationURLCitation
Source§impl<'de> Deserialize<'de> for AnnotationURLCitation
impl<'de> Deserialize<'de> for AnnotationURLCitation
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 AnnotationURLCitation
impl PartialEq for AnnotationURLCitation
Source§impl Serialize for AnnotationURLCitation
impl Serialize for AnnotationURLCitation
impl StructuralPartialEq for AnnotationURLCitation
Auto Trait Implementations§
impl Freeze for AnnotationURLCitation
impl RefUnwindSafe for AnnotationURLCitation
impl Send for AnnotationURLCitation
impl Sync for AnnotationURLCitation
impl Unpin for AnnotationURLCitation
impl UnwindSafe for AnnotationURLCitation
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