Struct schema_org_types::GiveAction
source · pub struct GiveAction {Show 27 fields
pub recipient: Vec<RecipientProperty>,
pub action_status: Vec<ActionStatusProperty>,
pub agent: Vec<AgentProperty>,
pub end_time: Vec<EndTimeProperty>,
pub error: Vec<ErrorProperty>,
pub instrument: Vec<InstrumentProperty>,
pub location: Vec<LocationProperty>,
pub object: Vec<ObjectProperty>,
pub participant: Vec<ParticipantProperty>,
pub provider: Vec<ProviderProperty>,
pub result: Vec<ResultProperty>,
pub start_time: Vec<StartTimeProperty>,
pub target: Vec<TargetProperty>,
pub additional_type: Vec<AdditionalTypeProperty>,
pub alternate_name: Vec<AlternateNameProperty>,
pub description: Vec<DescriptionProperty>,
pub disambiguating_description: Vec<DisambiguatingDescriptionProperty>,
pub identifier: Vec<IdentifierProperty>,
pub image: Vec<ImageProperty>,
pub main_entity_of_page: Vec<MainEntityOfPageProperty>,
pub name: Vec<NameProperty>,
pub potential_action: Vec<PotentialActionProperty>,
pub same_as: Vec<SameAsProperty>,
pub subject_of: Vec<SubjectOfProperty>,
pub url: Vec<UrlProperty>,
pub from_location: Vec<FromLocationProperty>,
pub to_location: Vec<ToLocationProperty>,
}
Expand description
Fields§
§recipient: Vec<RecipientProperty>
§action_status: Vec<ActionStatusProperty>
§agent: Vec<AgentProperty>
§end_time: Vec<EndTimeProperty>
§error: Vec<ErrorProperty>
§instrument: Vec<InstrumentProperty>
§location: Vec<LocationProperty>
§object: Vec<ObjectProperty>
§participant: Vec<ParticipantProperty>
§provider: Vec<ProviderProperty>
§result: Vec<ResultProperty>
§start_time: Vec<StartTimeProperty>
§target: Vec<TargetProperty>
§additional_type: Vec<AdditionalTypeProperty>
§alternate_name: Vec<AlternateNameProperty>
§description: Vec<DescriptionProperty>
§disambiguating_description: Vec<DisambiguatingDescriptionProperty>
§identifier: Vec<IdentifierProperty>
§image: Vec<ImageProperty>
§main_entity_of_page: Vec<MainEntityOfPageProperty>
§name: Vec<NameProperty>
§potential_action: Vec<PotentialActionProperty>
§same_as: Vec<SameAsProperty>
§subject_of: Vec<SubjectOfProperty>
§url: Vec<UrlProperty>
§from_location: Vec<FromLocationProperty>
§to_location: Vec<ToLocationProperty>
Trait Implementations§
source§impl ActionTrait for GiveAction
impl ActionTrait for GiveAction
source§fn get_action_status(&self) -> &[ActionStatusProperty]
fn get_action_status(&self) -> &[ActionStatusProperty]
Get https://schema.org/actionStatus from
Self
as borrowed slice.source§fn 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.source§fn get_agent(&self) -> &[AgentProperty]
fn get_agent(&self) -> &[AgentProperty]
Get https://schema.org/agent from
Self
as borrowed slice.source§fn take_agent(&mut self) -> Vec<AgentProperty>
fn take_agent(&mut self) -> Vec<AgentProperty>
Take https://schema.org/agent from
Self
as owned vector.source§fn get_end_time(&self) -> &[EndTimeProperty]
fn get_end_time(&self) -> &[EndTimeProperty]
Get https://schema.org/endTime from
Self
as borrowed slice.source§fn 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.source§fn get_error(&self) -> &[ErrorProperty]
fn get_error(&self) -> &[ErrorProperty]
Get https://schema.org/error from
Self
as borrowed slice.source§fn take_error(&mut self) -> Vec<ErrorProperty>
fn take_error(&mut self) -> Vec<ErrorProperty>
Take https://schema.org/error from
Self
as owned vector.source§fn get_instrument(&self) -> &[InstrumentProperty]
fn get_instrument(&self) -> &[InstrumentProperty]
Get https://schema.org/instrument from
Self
as borrowed slice.source§fn take_instrument(&mut self) -> Vec<InstrumentProperty>
fn take_instrument(&mut self) -> Vec<InstrumentProperty>
Take https://schema.org/instrument from
Self
as owned vector.source§fn get_location(&self) -> &[LocationProperty]
fn get_location(&self) -> &[LocationProperty]
Get https://schema.org/location from
Self
as borrowed slice.source§fn take_location(&mut self) -> Vec<LocationProperty>
fn take_location(&mut self) -> Vec<LocationProperty>
Take https://schema.org/location from
Self
as owned vector.source§fn get_object(&self) -> &[ObjectProperty]
fn get_object(&self) -> &[ObjectProperty]
Get https://schema.org/object from
Self
as borrowed slice.source§fn take_object(&mut self) -> Vec<ObjectProperty>
fn take_object(&mut self) -> Vec<ObjectProperty>
Take https://schema.org/object from
Self
as owned vector.source§fn get_participant(&self) -> &[ParticipantProperty]
fn get_participant(&self) -> &[ParticipantProperty]
Get https://schema.org/participant from
Self
as borrowed slice.source§fn take_participant(&mut self) -> Vec<ParticipantProperty>
fn take_participant(&mut self) -> Vec<ParticipantProperty>
Take https://schema.org/participant from
Self
as owned vector.source§fn get_provider(&self) -> &[ProviderProperty]
fn get_provider(&self) -> &[ProviderProperty]
Get https://schema.org/provider from
Self
as borrowed slice.source§fn take_provider(&mut self) -> Vec<ProviderProperty>
fn take_provider(&mut self) -> Vec<ProviderProperty>
Take https://schema.org/provider from
Self
as owned vector.source§fn get_result(&self) -> &[ResultProperty]
fn get_result(&self) -> &[ResultProperty]
Get https://schema.org/result from
Self
as borrowed slice.source§fn take_result(&mut self) -> Vec<ResultProperty>
fn take_result(&mut self) -> Vec<ResultProperty>
Take https://schema.org/result from
Self
as owned vector.source§fn get_start_time(&self) -> &[StartTimeProperty]
fn get_start_time(&self) -> &[StartTimeProperty]
Get https://schema.org/startTime from
Self
as borrowed slice.source§fn 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.source§fn get_target(&self) -> &[TargetProperty]
fn get_target(&self) -> &[TargetProperty]
Get https://schema.org/target from
Self
as borrowed slice.source§fn take_target(&mut self) -> Vec<TargetProperty>
fn take_target(&mut self) -> Vec<TargetProperty>
Take https://schema.org/target from
Self
as owned vector.source§impl GiveActionTrait for GiveAction
impl GiveActionTrait for GiveAction
source§fn get_recipient(&self) -> &[RecipientProperty]
fn get_recipient(&self) -> &[RecipientProperty]
Get https://schema.org/recipient from
Self
as borrowed slice.source§fn take_recipient(&mut self) -> Vec<RecipientProperty>
fn take_recipient(&mut self) -> Vec<RecipientProperty>
Take https://schema.org/recipient from
Self
as owned vector.source§impl ThingTrait for GiveAction
impl ThingTrait for GiveAction
source§fn get_additional_type(&self) -> &[AdditionalTypeProperty]
fn get_additional_type(&self) -> &[AdditionalTypeProperty]
Get https://schema.org/additionalType from
Self
as borrowed slice.source§fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
Take https://schema.org/additionalType from
Self
as owned vector.source§fn get_alternate_name(&self) -> &[AlternateNameProperty]
fn get_alternate_name(&self) -> &[AlternateNameProperty]
Get https://schema.org/alternateName from
Self
as borrowed slice.source§fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
Take https://schema.org/alternateName from
Self
as owned vector.source§fn get_description(&self) -> &[DescriptionProperty]
fn get_description(&self) -> &[DescriptionProperty]
Get https://schema.org/description from
Self
as borrowed slice.source§fn take_description(&mut self) -> Vec<DescriptionProperty>
fn take_description(&mut self) -> Vec<DescriptionProperty>
Take https://schema.org/description from
Self
as owned vector.source§fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
Get https://schema.org/disambiguatingDescription from
Self
as borrowed slice.source§fn take_disambiguating_description(
&mut self
) -> Vec<DisambiguatingDescriptionProperty>
fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>
Take https://schema.org/disambiguatingDescription from
Self
as owned vector.source§fn get_identifier(&self) -> &[IdentifierProperty]
fn get_identifier(&self) -> &[IdentifierProperty]
Get https://schema.org/identifier from
Self
as borrowed slice.source§fn take_identifier(&mut self) -> Vec<IdentifierProperty>
fn take_identifier(&mut self) -> Vec<IdentifierProperty>
Take https://schema.org/identifier from
Self
as owned vector.source§fn get_image(&self) -> &[ImageProperty]
fn get_image(&self) -> &[ImageProperty]
Get https://schema.org/image from
Self
as borrowed slice.source§fn take_image(&mut self) -> Vec<ImageProperty>
fn take_image(&mut self) -> Vec<ImageProperty>
Take https://schema.org/image from
Self
as owned vector.source§fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
Get https://schema.org/mainEntityOfPage from
Self
as borrowed slice.source§fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
Take https://schema.org/mainEntityOfPage from
Self
as owned vector.source§fn get_name(&self) -> &[NameProperty]
fn get_name(&self) -> &[NameProperty]
Get https://schema.org/name from
Self
as borrowed slice.source§fn take_name(&mut self) -> Vec<NameProperty>
fn take_name(&mut self) -> Vec<NameProperty>
Take https://schema.org/name from
Self
as owned vector.source§fn get_potential_action(&self) -> &[PotentialActionProperty]
fn get_potential_action(&self) -> &[PotentialActionProperty]
Get https://schema.org/potentialAction from
Self
as borrowed slice.source§fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
Take https://schema.org/potentialAction from
Self
as owned vector.source§fn get_same_as(&self) -> &[SameAsProperty]
fn get_same_as(&self) -> &[SameAsProperty]
Get https://schema.org/sameAs from
Self
as borrowed slice.source§fn take_same_as(&mut self) -> Vec<SameAsProperty>
fn take_same_as(&mut self) -> Vec<SameAsProperty>
Take https://schema.org/sameAs from
Self
as owned vector.source§fn get_subject_of(&self) -> &[SubjectOfProperty]
fn get_subject_of(&self) -> &[SubjectOfProperty]
Get https://schema.org/subjectOf from
Self
as borrowed slice.source§fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
Take https://schema.org/subjectOf from
Self
as owned vector.source§fn get_url(&self) -> &[UrlProperty]
fn get_url(&self) -> &[UrlProperty]
Get https://schema.org/url from
Self
as borrowed slice.source§fn take_url(&mut self) -> Vec<UrlProperty>
fn take_url(&mut self) -> Vec<UrlProperty>
Take https://schema.org/url from
Self
as owned vector.source§impl TransferActionTrait for GiveAction
impl TransferActionTrait for GiveAction
source§fn get_from_location(&self) -> &[FromLocationProperty]
fn get_from_location(&self) -> &[FromLocationProperty]
Get https://schema.org/fromLocation from
Self
as borrowed slice.source§fn take_from_location(&mut self) -> Vec<FromLocationProperty>
fn take_from_location(&mut self) -> Vec<FromLocationProperty>
Take https://schema.org/fromLocation from
Self
as owned vector.source§fn get_to_location(&self) -> &[ToLocationProperty]
fn get_to_location(&self) -> &[ToLocationProperty]
Get https://schema.org/toLocation from
Self
as borrowed slice.source§fn take_to_location(&mut self) -> Vec<ToLocationProperty>
fn take_to_location(&mut self) -> Vec<ToLocationProperty>
Take https://schema.org/toLocation from
Self
as owned vector.Auto Trait Implementations§
impl RefUnwindSafe for GiveAction
impl Send for GiveAction
impl Sync for GiveAction
impl Unpin for GiveAction
impl UnwindSafe for GiveAction
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