pub trait GeoShapeTrait {
Show 16 methods // Required methods fn get_address(&self) -> &[AddressProperty]; fn take_address(&mut self) -> Vec<AddressProperty>; fn get_address_country(&self) -> &[AddressCountryProperty]; fn take_address_country(&mut self) -> Vec<AddressCountryProperty>; fn get_box(&self) -> &[BoxProperty]; fn take_box(&mut self) -> Vec<BoxProperty>; fn get_circle(&self) -> &[CircleProperty]; fn take_circle(&mut self) -> Vec<CircleProperty>; fn get_elevation(&self) -> &[ElevationProperty]; fn take_elevation(&mut self) -> Vec<ElevationProperty>; fn get_line(&self) -> &[LineProperty]; fn take_line(&mut self) -> Vec<LineProperty>; fn get_polygon(&self) -> &[PolygonProperty]; fn take_polygon(&mut self) -> Vec<PolygonProperty>; fn get_postal_code(&self) -> &[PostalCodeProperty]; fn take_postal_code(&mut self) -> Vec<PostalCodeProperty>;
}
Expand description

This trait is for properties from https://schema.org/GeoShape.

Required Methods§

source

fn get_address(&self) -> &[AddressProperty]

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

source

fn take_address(&mut self) -> Vec<AddressProperty>

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

source

fn get_address_country(&self) -> &[AddressCountryProperty]

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

source

fn take_address_country(&mut self) -> Vec<AddressCountryProperty>

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

source

fn get_box(&self) -> &[BoxProperty]

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

source

fn take_box(&mut self) -> Vec<BoxProperty>

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

source

fn get_circle(&self) -> &[CircleProperty]

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

source

fn take_circle(&mut self) -> Vec<CircleProperty>

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

source

fn get_elevation(&self) -> &[ElevationProperty]

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

source

fn take_elevation(&mut self) -> Vec<ElevationProperty>

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

source

fn get_line(&self) -> &[LineProperty]

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

source

fn take_line(&mut self) -> Vec<LineProperty>

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

source

fn get_polygon(&self) -> &[PolygonProperty]

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

source

fn take_polygon(&mut self) -> Vec<PolygonProperty>

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

source

fn get_postal_code(&self) -> &[PostalCodeProperty]

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

source

fn take_postal_code(&mut self) -> Vec<PostalCodeProperty>

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

Implementors§