pub trait QuantitativeValueDistributionTrait {
// Required methods
fn get_duration(&self) -> &[DurationProperty];
fn take_duration(&mut self) -> Vec<DurationProperty>;
fn get_median(&self) -> &[MedianProperty];
fn take_median(&mut self) -> Vec<MedianProperty>;
fn get_percentile_10(&self) -> &[Percentile10Property];
fn take_percentile_10(&mut self) -> Vec<Percentile10Property>;
fn get_percentile_25(&self) -> &[Percentile25Property];
fn take_percentile_25(&mut self) -> Vec<Percentile25Property>;
fn get_percentile_75(&self) -> &[Percentile75Property];
fn take_percentile_75(&mut self) -> Vec<Percentile75Property>;
fn get_percentile_90(&self) -> &[Percentile90Property];
fn take_percentile_90(&mut self) -> Vec<Percentile90Property>;
}
Expand description
This trait is for properties from https://schema.org/QuantitativeValueDistribution.
Required Methods§
sourcefn get_duration(&self) -> &[DurationProperty]
fn get_duration(&self) -> &[DurationProperty]
Get https://schema.org/duration from Self
as borrowed slice.
sourcefn take_duration(&mut self) -> Vec<DurationProperty>
fn take_duration(&mut self) -> Vec<DurationProperty>
Take https://schema.org/duration from Self
as owned vector.
sourcefn get_median(&self) -> &[MedianProperty]
fn get_median(&self) -> &[MedianProperty]
Get https://schema.org/median from Self
as borrowed slice.
sourcefn take_median(&mut self) -> Vec<MedianProperty>
fn take_median(&mut self) -> Vec<MedianProperty>
Take https://schema.org/median from Self
as owned vector.
sourcefn get_percentile_10(&self) -> &[Percentile10Property]
fn get_percentile_10(&self) -> &[Percentile10Property]
Get https://schema.org/percentile10 from Self
as borrowed slice.
sourcefn take_percentile_10(&mut self) -> Vec<Percentile10Property>
fn take_percentile_10(&mut self) -> Vec<Percentile10Property>
Take https://schema.org/percentile10 from Self
as owned vector.
sourcefn get_percentile_25(&self) -> &[Percentile25Property]
fn get_percentile_25(&self) -> &[Percentile25Property]
Get https://schema.org/percentile25 from Self
as borrowed slice.
sourcefn take_percentile_25(&mut self) -> Vec<Percentile25Property>
fn take_percentile_25(&mut self) -> Vec<Percentile25Property>
Take https://schema.org/percentile25 from Self
as owned vector.
sourcefn get_percentile_75(&self) -> &[Percentile75Property]
fn get_percentile_75(&self) -> &[Percentile75Property]
Get https://schema.org/percentile75 from Self
as borrowed slice.
sourcefn take_percentile_75(&mut self) -> Vec<Percentile75Property>
fn take_percentile_75(&mut self) -> Vec<Percentile75Property>
Take https://schema.org/percentile75 from Self
as owned vector.
sourcefn get_percentile_90(&self) -> &[Percentile90Property]
fn get_percentile_90(&self) -> &[Percentile90Property]
Get https://schema.org/percentile90 from Self
as borrowed slice.
sourcefn take_percentile_90(&mut self) -> Vec<Percentile90Property>
fn take_percentile_90(&mut self) -> Vec<Percentile90Property>
Take https://schema.org/percentile90 from Self
as owned vector.