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§

source

fn get_map_type(&self) -> &[MapTypeProperty]

Get https://schema.org/mapType from Self as borrowed slice.

source

fn take_map_type(&mut self) -> Vec<MapTypeProperty>

Take https://schema.org/mapType from Self as owned vector.

Implementors§