Trait schema_org_types::MapTrait
source · pub trait MapTrait {
// Required methods
fn get_map_type(&self) -> &[MapTypeProperty];
fn take_map_type(&mut self) -> Vec<MapTypeProperty>;
}
Expand description
This trait is for properties from https://schema.org/Map.
Required Methods§
sourcefn get_map_type(&self) -> &[MapTypeProperty]
fn get_map_type(&self) -> &[MapTypeProperty]
Get https://schema.org/mapType from Self
as borrowed slice.
sourcefn take_map_type(&mut self) -> Vec<MapTypeProperty>
fn take_map_type(&mut self) -> Vec<MapTypeProperty>
Take https://schema.org/mapType from Self
as owned vector.