pub struct CitationSource {
pub start_index: Option<i32>,
pub end_index: Option<i32>,
pub uri: Option<String>,
pub license: Option<String>,
}Expand description
A single citation source.
Fields§
§start_index: Option<i32>Start index in the generated text.
end_index: Option<i32>End index in the generated text.
uri: Option<String>URI of the cited source.
license: Option<String>License of the cited source.
Trait Implementations§
Source§impl Clone for CitationSource
impl Clone for CitationSource
Source§fn clone(&self) -> CitationSource
fn clone(&self) -> CitationSource
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 CitationSource
impl Debug for CitationSource
Source§impl<'de> Deserialize<'de> for CitationSource
impl<'de> Deserialize<'de> for CitationSource
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 CitationSource
impl RefUnwindSafe for CitationSource
impl Send for CitationSource
impl Sync for CitationSource
impl Unpin for CitationSource
impl UnwindSafe for CitationSource
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