#[non_exhaustive]pub struct Work {Show 15 fields
pub title: Option<String>,
pub authors: Vec<Person>,
pub issued: Option<PartialDate>,
pub work_type: Option<WorkType>,
pub container_title: Option<String>,
pub volume: Option<String>,
pub issue: Option<String>,
pub page: Option<String>,
pub publisher: Option<String>,
pub abstract_text: Option<String>,
pub url: Option<String>,
pub cited_by_count: Option<u64>,
pub updates: Vec<Update>,
pub update_to: Vec<UpdateTo>,
pub other_years: Vec<i16>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.title: Option<String>In byline order. Empty means “not provided”, not “anonymous”.
issued: Option<PartialDate>§work_type: Option<WorkType>§container_title: Option<String>Journal, proceedings or book title.
volume: Option<String>§issue: Option<String>§page: Option<String>§publisher: Option<String>§abstract_text: Option<String>§url: Option<String>Landing page for the work.
cited_by_count: Option<u64>As counted by the providing source; counts differ between sources.
updates: Vec<Update>Retractions, corrections and other editorial notices about the work.
update_to: Vec<UpdateTo>When the work is itself a notice, the works it updates: what an erratum corrects or a retraction notice retracts.
other_years: Vec<i16>Years of other editions or versions of the same work, when the provider knows them (a book’s later editions). A citation of any of them is a citation of this work.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Work
impl<'de> Deserialize<'de> for Work
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
impl Eq for Work
impl StructuralPartialEq for Work
Auto Trait Implementations§
impl Forget for Work
impl Freeze for Work
impl RefUnwindSafe for Work
impl Send for Work
impl Sync for Work
impl Unpin for Work
impl UnsafeUnpin for Work
impl UnwindSafe for Work
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