Trait schema_org_types::GeoCircleTrait
source · pub trait GeoCircleTrait {
// Required methods
fn get_geo_midpoint(&self) -> &[GeoMidpointProperty];
fn take_geo_midpoint(&mut self) -> Vec<GeoMidpointProperty>;
fn get_geo_radius(&self) -> &[GeoRadiusProperty];
fn take_geo_radius(&mut self) -> Vec<GeoRadiusProperty>;
}
Expand description
This trait is for properties from https://schema.org/GeoCircle.
Required Methods§
sourcefn get_geo_midpoint(&self) -> &[GeoMidpointProperty]
fn get_geo_midpoint(&self) -> &[GeoMidpointProperty]
Get https://schema.org/geoMidpoint from Self
as borrowed slice.
sourcefn take_geo_midpoint(&mut self) -> Vec<GeoMidpointProperty>
fn take_geo_midpoint(&mut self) -> Vec<GeoMidpointProperty>
Take https://schema.org/geoMidpoint from Self
as owned vector.
sourcefn get_geo_radius(&self) -> &[GeoRadiusProperty]
fn get_geo_radius(&self) -> &[GeoRadiusProperty]
Get https://schema.org/geoRadius from Self
as borrowed slice.
sourcefn take_geo_radius(&mut self) -> Vec<GeoRadiusProperty>
fn take_geo_radius(&mut self) -> Vec<GeoRadiusProperty>
Take https://schema.org/geoRadius from Self
as owned vector.