pub struct Citation {
pub end_index: Option<i64>,
pub license: Option<String>,
pub publication_date: Option<Date>,
pub start_index: Option<i64>,
pub title: Option<String>,
pub uri: Option<String>,
}Fields§
§end_index: Option<i64>§license: Option<String>§publication_date: Option<Date>§start_index: Option<i64>§title: Option<String>§uri: Option<String>Implementations§
Source§impl Citation
impl Citation
Sourcepub fn publication_date(self, value: impl Into<Date>) -> Self
pub fn publication_date(self, value: impl Into<Date>) -> Self
Sets the publication_date field of this struct.
Sourcepub fn start_index(self, value: impl Into<i64>) -> Self
pub fn start_index(self, value: impl Into<i64>) -> Self
Sets the start_index field of this struct.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Citation
impl<'de> Deserialize<'de> for Citation
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 Citation
impl RefUnwindSafe for Citation
impl Send for Citation
impl Sync for Citation
impl Unpin for Citation
impl UnwindSafe for Citation
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