Trait schema_org_types::InsertActionTrait
source · pub trait InsertActionTrait {
// Required methods
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/InsertAction.
Required Methods§
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.