Trait schema_org_types::MoveActionTrait
source · pub trait MoveActionTrait {
// Required methods
fn get_from_location(&self) -> &[FromLocationProperty];
fn take_from_location(&mut self) -> Vec<FromLocationProperty>;
fn get_to_location(&self) -> &[ToLocationProperty];
fn take_to_location(&mut self) -> Vec<ToLocationProperty>;
}
Expand description
This trait is for properties from https://schema.org/MoveAction.
Required Methods§
sourcefn get_from_location(&self) -> &[FromLocationProperty]
fn get_from_location(&self) -> &[FromLocationProperty]
Get https://schema.org/fromLocation from Self
as borrowed slice.
sourcefn 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.
sourcefn get_to_location(&self) -> &[ToLocationProperty]
fn get_to_location(&self) -> &[ToLocationProperty]
Get https://schema.org/toLocation from Self
as borrowed slice.
sourcefn 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.