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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.