pub struct UrlCitationParam {
pub type: String,
pub start_index: u64,
pub end_index: u64,
pub url: String,
pub title: String,
}Available on crate feature
response-types only.Fields§
§type: StringThe citation type. Always url_citation.
start_index: u64The index of the first character of the citation in the message.
end_index: u64The index of the last character of the citation in the message.
url: StringThe URL of the cited resource.
title: StringThe title of the cited resource.
Trait Implementations§
Source§impl Clone for UrlCitationParam
impl Clone for UrlCitationParam
Source§fn clone(&self) -> UrlCitationParam
fn clone(&self) -> UrlCitationParam
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 Debug for UrlCitationParam
impl Debug for UrlCitationParam
Source§impl<'de> Deserialize<'de> for UrlCitationParam
impl<'de> Deserialize<'de> for UrlCitationParam
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 UrlCitationParam
impl PartialEq for UrlCitationParam
Source§impl Serialize for UrlCitationParam
impl Serialize for UrlCitationParam
impl StructuralPartialEq for UrlCitationParam
Auto Trait Implementations§
impl Freeze for UrlCitationParam
impl RefUnwindSafe for UrlCitationParam
impl Send for UrlCitationParam
impl Sync for UrlCitationParam
impl Unpin for UrlCitationParam
impl UnsafeUnpin for UrlCitationParam
impl UnwindSafe for UrlCitationParam
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