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