Struct stencila_schema::ClaimSimple [−][src]
pub struct ClaimSimple {
pub type_: ClaimSimple_,
pub content: Vec<BlockContent>,
pub claim_type: Option<ClaimClaimType>,
pub id: Option<Box<String>>,
pub label: Option<Box<String>>,
pub parts: Option<Vec<CreativeWorkTypes>>,
pub title: Option<Box<CreativeWorkTitle>>,
}
Expand description
A claim represents specific reviewable facts or statements.
Fields
type_: ClaimSimple_
The name of this type
content: Vec<BlockContent>
Content of the claim, usually a single paragraph.
claim_type: Option<ClaimClaimType>
Kind of the claim.
id: Option<Box<String>>
The identifier for this item.
label: Option<Box<String>>
A short label for the claim.
parts: Option<Vec<CreativeWorkTypes>>
Elements of the collection which can be a variety of different elements, such as Articles, Datatables, Tables and more.
title: Option<Box<CreativeWorkTitle>>
The title of the creative work.
Trait Implementations
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
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ClaimSimple
impl Send for ClaimSimple
impl Sync for ClaimSimple
impl Unpin for ClaimSimple
impl UnwindSafe for ClaimSimple
Blanket Implementations
Mutably borrows from an owned value. Read more