pub trait StatisticalPopulationTrait {
// Required methods
fn get_population_type(&self) -> &[PopulationTypeProperty];
fn take_population_type(&mut self) -> Vec<PopulationTypeProperty>;
}
Expand description
This trait is for properties from https://schema.org/StatisticalPopulation.
Required Methods§
sourcefn get_population_type(&self) -> &[PopulationTypeProperty]
fn get_population_type(&self) -> &[PopulationTypeProperty]
Get https://schema.org/populationType from Self
as borrowed slice.
sourcefn take_population_type(&mut self) -> Vec<PopulationTypeProperty>
fn take_population_type(&mut self) -> Vec<PopulationTypeProperty>
Take https://schema.org/populationType from Self
as owned vector.