Trait schema_org_types::UpdateActionTrait
source · pub trait UpdateActionTrait {
// Required methods
fn get_collection(&self) -> &[CollectionProperty];
fn take_collection(&mut self) -> Vec<CollectionProperty>;
fn get_target_collection(&self) -> &[TargetCollectionProperty];
fn take_target_collection(&mut self) -> Vec<TargetCollectionProperty>;
}
Expand description
This trait is for properties from https://schema.org/UpdateAction.
Required Methods§
sourcefn 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.
sourcefn 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.
sourcefn get_target_collection(&self) -> &[TargetCollectionProperty]
fn get_target_collection(&self) -> &[TargetCollectionProperty]
Get https://schema.org/targetCollection from Self
as borrowed slice.
sourcefn 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.