Trait schema_org_types::InformActionTrait
source · pub trait InformActionTrait {
// Required methods
fn get_event(&self) -> &[EventProperty];
fn take_event(&mut self) -> Vec<EventProperty>;
}
Expand description
This trait is for properties from https://schema.org/InformAction.
Required Methods§
sourcefn get_event(&self) -> &[EventProperty]
fn get_event(&self) -> &[EventProperty]
Get https://schema.org/event from Self
as borrowed slice.
sourcefn take_event(&mut self) -> Vec<EventProperty>
fn take_event(&mut self) -> Vec<EventProperty>
Take https://schema.org/event from Self
as owned vector.