Trait schema_org_types::ClaimTrait
source · pub trait ClaimTrait {
// Required methods
fn get_appearance(&self) -> &[AppearanceProperty];
fn take_appearance(&mut self) -> Vec<AppearanceProperty>;
fn get_claim_interpreter(&self) -> &[ClaimInterpreterProperty];
fn take_claim_interpreter(&mut self) -> Vec<ClaimInterpreterProperty>;
fn get_first_appearance(&self) -> &[FirstAppearanceProperty];
fn take_first_appearance(&mut self) -> Vec<FirstAppearanceProperty>;
}
Expand description
This trait is for properties from https://schema.org/Claim.
Required Methods§
sourcefn get_appearance(&self) -> &[AppearanceProperty]
fn get_appearance(&self) -> &[AppearanceProperty]
Get https://schema.org/appearance from Self
as borrowed slice.
sourcefn take_appearance(&mut self) -> Vec<AppearanceProperty>
fn take_appearance(&mut self) -> Vec<AppearanceProperty>
Take https://schema.org/appearance from Self
as owned vector.
sourcefn get_claim_interpreter(&self) -> &[ClaimInterpreterProperty]
fn get_claim_interpreter(&self) -> &[ClaimInterpreterProperty]
Get https://schema.org/claimInterpreter from Self
as borrowed slice.
sourcefn take_claim_interpreter(&mut self) -> Vec<ClaimInterpreterProperty>
fn take_claim_interpreter(&mut self) -> Vec<ClaimInterpreterProperty>
Take https://schema.org/claimInterpreter from Self
as owned vector.
sourcefn get_first_appearance(&self) -> &[FirstAppearanceProperty]
fn get_first_appearance(&self) -> &[FirstAppearanceProperty]
Get https://schema.org/firstAppearance from Self
as borrowed slice.
sourcefn take_first_appearance(&mut self) -> Vec<FirstAppearanceProperty>
fn take_first_appearance(&mut self) -> Vec<FirstAppearanceProperty>
Take https://schema.org/firstAppearance from Self
as owned vector.