pub struct Cite {
pub type_: Cite_,
pub target: String,
pub citation_intent: Option<Vec<CitationIntentEnumeration>>,
pub citation_mode: Option<CiteCitationMode>,
pub citation_prefix: Option<Box<String>>,
pub citation_suffix: Option<Box<String>>,
pub content: Option<Vec<InlineContent>>,
pub id: Option<Box<String>>,
pub page_end: Option<Box<CitePageEnd>>,
pub page_start: Option<Box<CitePageStart>>,
pub pagination: Option<Box<String>>,
}
Expand description
A reference to a CreativeWork that is cited in another CreativeWork.
Fields§
§type_: Cite_
The name of this type
target: String
The target of the citation (URL or reference ID).
citation_intent: Option<Vec<CitationIntentEnumeration>>
The type/s of the citation, both factually and rhetorically.
citation_mode: Option<CiteCitationMode>
Determines how the citation is shown within the surrounding text.
citation_prefix: Option<Box<String>>
Text to show before the citation.
citation_suffix: Option<Box<String>>
Text to show after the citation.
content: Option<Vec<InlineContent>>
Optional structured content/text of this citation.
id: Option<Box<String>>
The identifier for this item.
page_end: Option<Box<CitePageEnd>>
The page on which the work ends; for example “138” or “xvi”.
page_start: Option<Box<CitePageStart>>
The page on which the work starts; for example “135” or “xiii”.
pagination: Option<Box<String>>
Any description of pages that is not separated into pageStart and pageEnd; for example, “1-6, 9, 55”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cite
impl<'de> Deserialize<'de> for Cite
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 Cite
impl RefUnwindSafe for Cite
impl Send for Cite
impl Sync for Cite
impl Unpin for Cite
impl UnwindSafe for Cite
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