Trait schema_org_types::EndorseActionTrait
source · pub trait EndorseActionTrait {
// Required methods
fn get_endorsee(&self) -> &[EndorseeProperty];
fn take_endorsee(&mut self) -> Vec<EndorseeProperty>;
}
Expand description
This trait is for properties from https://schema.org/EndorseAction.
Required Methods§
sourcefn get_endorsee(&self) -> &[EndorseeProperty]
fn get_endorsee(&self) -> &[EndorseeProperty]
Get https://schema.org/endorsee from Self
as borrowed slice.
sourcefn take_endorsee(&mut self) -> Vec<EndorseeProperty>
fn take_endorsee(&mut self) -> Vec<EndorseeProperty>
Take https://schema.org/endorsee from Self
as owned vector.