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§
Source§impl Clone for ClaimSimple
impl Clone for ClaimSimple
Source§fn clone(&self) -> ClaimSimple
fn clone(&self) -> ClaimSimple
Returns a copy of the value. Read more
1.0.0 · 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 ClaimSimple
impl Debug for ClaimSimple
Source§impl Default for ClaimSimple
impl Default for ClaimSimple
Source§impl<'de> Deserialize<'de> for ClaimSimplewhere
ClaimSimple: Default,
impl<'de> Deserialize<'de> for ClaimSimplewhere
ClaimSimple: Default,
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 ClaimSimple
impl RefUnwindSafe for ClaimSimple
impl Send for ClaimSimple
impl Sync for ClaimSimple
impl Unpin for ClaimSimple
impl UnwindSafe for ClaimSimple
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