pub struct CitationOccurrenceItem {
pub id: String,
pub locator: Option<CitationLocator>,
pub prefix: Option<String>,
pub suffix: Option<String>,
pub integral_name_state: Option<IntegralNameState>,
pub org_abbreviation_state: Option<IntegralNameState>,
}Expand description
A single item within a citation occurrence.
Maps to CitationItem from citum-schema-data.
Fields§
§id: StringThe reference ID (citekey) being cited.
locator: Option<CitationLocator>Optional locator (pinpoint citation).
prefix: Option<String>Optional prefix text before this item.
suffix: Option<String>Optional suffix text after this item.
integral_name_state: Option<IntegralNameState>Explicit integral (narrative) name state override.
org_abbreviation_state: Option<IntegralNameState>Explicit org-abbreviation state override.
Trait Implementations§
Source§impl Clone for CitationOccurrenceItem
impl Clone for CitationOccurrenceItem
Source§fn clone(&self) -> CitationOccurrenceItem
fn clone(&self) -> CitationOccurrenceItem
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 CitationOccurrenceItem
impl Debug for CitationOccurrenceItem
Source§impl<'de> Deserialize<'de> for CitationOccurrenceItem
impl<'de> Deserialize<'de> for CitationOccurrenceItem
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 From<CitationOccurrenceItem> for CitationItem
impl From<CitationOccurrenceItem> for CitationItem
Source§fn from(item: CitationOccurrenceItem) -> Self
fn from(item: CitationOccurrenceItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CitationOccurrenceItem
impl RefUnwindSafe for CitationOccurrenceItem
impl Send for CitationOccurrenceItem
impl Sync for CitationOccurrenceItem
impl Unpin for CitationOccurrenceItem
impl UnsafeUnpin for CitationOccurrenceItem
impl UnwindSafe for CitationOccurrenceItem
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