pub struct UrlCitationBody {
pub end_index: i32,
pub start_index: i32,
pub title: String,
pub _type: String,
pub url: String,
}
Fields§
§end_index: i32
The index of the last character of the URL citation in the message.
start_index: i32
The index of the first character of the URL citation in the message.
title: String
The title of the web resource.
_type: String
The type of the URL citation. Always url_citation
.
url: String
The URL of the web resource.
Trait Implementations§
Source§impl Debug for UrlCitationBody
impl Debug for UrlCitationBody
Source§impl<'de> Deserialize<'de> for UrlCitationBody
impl<'de> Deserialize<'de> for UrlCitationBody
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 UrlCitationBody
impl RefUnwindSafe for UrlCitationBody
impl Send for UrlCitationBody
impl Sync for UrlCitationBody
impl Unpin for UrlCitationBody
impl UnwindSafe for UrlCitationBody
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