Struct schema_org_types::ReplaceAction
source · pub struct ReplaceAction {Show 28 fields
pub replacee: Vec<ReplaceeProperty>,
pub replacer: Vec<ReplacerProperty>,
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 collection: Vec<CollectionProperty>,
pub target_collection: Vec<TargetCollectionProperty>,
}
Expand description
Fields§
§replacee: Vec<ReplaceeProperty>
§replacer: Vec<ReplacerProperty>
§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>
§collection: Vec<CollectionProperty>
👎Deprecated: This schema is superseded by https://schema.org/targetCollection.
§target_collection: Vec<TargetCollectionProperty>
Trait Implementations§
source§impl ActionTrait for ReplaceAction
impl ActionTrait for ReplaceAction
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 ReplaceActionTrait for ReplaceAction
impl ReplaceActionTrait for ReplaceAction
source§fn get_replacee(&self) -> &[ReplaceeProperty]
fn get_replacee(&self) -> &[ReplaceeProperty]
Get https://schema.org/replacee from
Self
as borrowed slice.source§fn take_replacee(&mut self) -> Vec<ReplaceeProperty>
fn take_replacee(&mut self) -> Vec<ReplaceeProperty>
Take https://schema.org/replacee from
Self
as owned vector.source§fn get_replacer(&self) -> &[ReplacerProperty]
fn get_replacer(&self) -> &[ReplacerProperty]
Get https://schema.org/replacer from
Self
as borrowed slice.source§fn take_replacer(&mut self) -> Vec<ReplacerProperty>
fn take_replacer(&mut self) -> Vec<ReplacerProperty>
Take https://schema.org/replacer from
Self
as owned vector.source§impl ThingTrait for ReplaceAction
impl ThingTrait for ReplaceAction
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 UpdateActionTrait for ReplaceAction
impl UpdateActionTrait for ReplaceAction
source§fn get_collection(&self) -> &[CollectionProperty]
fn get_collection(&self) -> &[CollectionProperty]
👎Deprecated: This schema is superseded by https://schema.org/targetCollection.
Get https://schema.org/collection from
Self
as borrowed slice.source§fn take_collection(&mut self) -> Vec<CollectionProperty>
fn take_collection(&mut self) -> Vec<CollectionProperty>
👎Deprecated: This schema is superseded by https://schema.org/targetCollection.
Take https://schema.org/collection from
Self
as owned vector.source§fn get_target_collection(&self) -> &[TargetCollectionProperty]
fn get_target_collection(&self) -> &[TargetCollectionProperty]
Get https://schema.org/targetCollection from
Self
as borrowed slice.source§fn take_target_collection(&mut self) -> Vec<TargetCollectionProperty>
fn take_target_collection(&mut self) -> Vec<TargetCollectionProperty>
Take https://schema.org/targetCollection from
Self
as owned vector.Auto Trait Implementations§
impl RefUnwindSafe for ReplaceAction
impl Send for ReplaceAction
impl Sync for ReplaceAction
impl Unpin for ReplaceAction
impl UnwindSafe for ReplaceAction
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