Trait schema_org_types::ActionTrait
source · pub trait ActionTrait {
Show 24 methods
// Required methods
fn get_action_status(&self) -> &[ActionStatusProperty];
fn take_action_status(&mut self) -> Vec<ActionStatusProperty>;
fn get_agent(&self) -> &[AgentProperty];
fn take_agent(&mut self) -> Vec<AgentProperty>;
fn get_end_time(&self) -> &[EndTimeProperty];
fn take_end_time(&mut self) -> Vec<EndTimeProperty>;
fn get_error(&self) -> &[ErrorProperty];
fn take_error(&mut self) -> Vec<ErrorProperty>;
fn get_instrument(&self) -> &[InstrumentProperty];
fn take_instrument(&mut self) -> Vec<InstrumentProperty>;
fn get_location(&self) -> &[LocationProperty];
fn take_location(&mut self) -> Vec<LocationProperty>;
fn get_object(&self) -> &[ObjectProperty];
fn take_object(&mut self) -> Vec<ObjectProperty>;
fn get_participant(&self) -> &[ParticipantProperty];
fn take_participant(&mut self) -> Vec<ParticipantProperty>;
fn get_provider(&self) -> &[ProviderProperty];
fn take_provider(&mut self) -> Vec<ProviderProperty>;
fn get_result(&self) -> &[ResultProperty];
fn take_result(&mut self) -> Vec<ResultProperty>;
fn get_start_time(&self) -> &[StartTimeProperty];
fn take_start_time(&mut self) -> Vec<StartTimeProperty>;
fn get_target(&self) -> &[TargetProperty];
fn take_target(&mut self) -> Vec<TargetProperty>;
}
Expand description
This trait is for properties from https://schema.org/Action.
Required Methods§
sourcefn get_action_status(&self) -> &[ActionStatusProperty]
fn get_action_status(&self) -> &[ActionStatusProperty]
Get https://schema.org/actionStatus from Self
as borrowed slice.
sourcefn take_action_status(&mut self) -> Vec<ActionStatusProperty>
fn take_action_status(&mut self) -> Vec<ActionStatusProperty>
Take https://schema.org/actionStatus from Self
as owned vector.
sourcefn get_agent(&self) -> &[AgentProperty]
fn get_agent(&self) -> &[AgentProperty]
Get https://schema.org/agent from Self
as borrowed slice.
sourcefn take_agent(&mut self) -> Vec<AgentProperty>
fn take_agent(&mut self) -> Vec<AgentProperty>
Take https://schema.org/agent from Self
as owned vector.
sourcefn get_end_time(&self) -> &[EndTimeProperty]
fn get_end_time(&self) -> &[EndTimeProperty]
Get https://schema.org/endTime from Self
as borrowed slice.
sourcefn take_end_time(&mut self) -> Vec<EndTimeProperty>
fn take_end_time(&mut self) -> Vec<EndTimeProperty>
Take https://schema.org/endTime from Self
as owned vector.
sourcefn get_error(&self) -> &[ErrorProperty]
fn get_error(&self) -> &[ErrorProperty]
Get https://schema.org/error from Self
as borrowed slice.
sourcefn take_error(&mut self) -> Vec<ErrorProperty>
fn take_error(&mut self) -> Vec<ErrorProperty>
Take https://schema.org/error from Self
as owned vector.
sourcefn get_instrument(&self) -> &[InstrumentProperty]
fn get_instrument(&self) -> &[InstrumentProperty]
Get https://schema.org/instrument from Self
as borrowed slice.
sourcefn take_instrument(&mut self) -> Vec<InstrumentProperty>
fn take_instrument(&mut self) -> Vec<InstrumentProperty>
Take https://schema.org/instrument from Self
as owned vector.
sourcefn get_location(&self) -> &[LocationProperty]
fn get_location(&self) -> &[LocationProperty]
Get https://schema.org/location from Self
as borrowed slice.
sourcefn take_location(&mut self) -> Vec<LocationProperty>
fn take_location(&mut self) -> Vec<LocationProperty>
Take https://schema.org/location from Self
as owned vector.
sourcefn get_object(&self) -> &[ObjectProperty]
fn get_object(&self) -> &[ObjectProperty]
Get https://schema.org/object from Self
as borrowed slice.
sourcefn take_object(&mut self) -> Vec<ObjectProperty>
fn take_object(&mut self) -> Vec<ObjectProperty>
Take https://schema.org/object from Self
as owned vector.
sourcefn get_participant(&self) -> &[ParticipantProperty]
fn get_participant(&self) -> &[ParticipantProperty]
Get https://schema.org/participant from Self
as borrowed slice.
sourcefn take_participant(&mut self) -> Vec<ParticipantProperty>
fn take_participant(&mut self) -> Vec<ParticipantProperty>
Take https://schema.org/participant from Self
as owned vector.
sourcefn get_provider(&self) -> &[ProviderProperty]
fn get_provider(&self) -> &[ProviderProperty]
Get https://schema.org/provider from Self
as borrowed slice.
sourcefn take_provider(&mut self) -> Vec<ProviderProperty>
fn take_provider(&mut self) -> Vec<ProviderProperty>
Take https://schema.org/provider from Self
as owned vector.
sourcefn get_result(&self) -> &[ResultProperty]
fn get_result(&self) -> &[ResultProperty]
Get https://schema.org/result from Self
as borrowed slice.
sourcefn take_result(&mut self) -> Vec<ResultProperty>
fn take_result(&mut self) -> Vec<ResultProperty>
Take https://schema.org/result from Self
as owned vector.
sourcefn get_start_time(&self) -> &[StartTimeProperty]
fn get_start_time(&self) -> &[StartTimeProperty]
Get https://schema.org/startTime from Self
as borrowed slice.
sourcefn take_start_time(&mut self) -> Vec<StartTimeProperty>
fn take_start_time(&mut self) -> Vec<StartTimeProperty>
Take https://schema.org/startTime from Self
as owned vector.
sourcefn get_target(&self) -> &[TargetProperty]
fn get_target(&self) -> &[TargetProperty]
Get https://schema.org/target from Self
as borrowed slice.
sourcefn take_target(&mut self) -> Vec<TargetProperty>
fn take_target(&mut self) -> Vec<TargetProperty>
Take https://schema.org/target from Self
as owned vector.