Trait schema_org_types::ObservationTrait
source · pub trait ObservationTrait {
Show 20 methods
// Required methods
fn get_margin_of_error(&self) -> &[MarginOfErrorProperty];
fn take_margin_of_error(&mut self) -> Vec<MarginOfErrorProperty>;
fn get_measured_property(&self) -> &[MeasuredPropertyProperty];
fn take_measured_property(&mut self) -> Vec<MeasuredPropertyProperty>;
fn get_measurement_denominator(&self) -> &[MeasurementDenominatorProperty];
fn take_measurement_denominator(
&mut self
) -> Vec<MeasurementDenominatorProperty>;
fn get_measurement_method(&self) -> &[MeasurementMethodProperty];
fn take_measurement_method(&mut self) -> Vec<MeasurementMethodProperty>;
fn get_measurement_qualifier(&self) -> &[MeasurementQualifierProperty];
fn take_measurement_qualifier(
&mut self
) -> Vec<MeasurementQualifierProperty>;
fn get_measurement_technique(&self) -> &[MeasurementTechniqueProperty];
fn take_measurement_technique(
&mut self
) -> Vec<MeasurementTechniqueProperty>;
fn get_observation_about(&self) -> &[ObservationAboutProperty];
fn take_observation_about(&mut self) -> Vec<ObservationAboutProperty>;
fn get_observation_date(&self) -> &[ObservationDateProperty];
fn take_observation_date(&mut self) -> Vec<ObservationDateProperty>;
fn get_observation_period(&self) -> &[ObservationPeriodProperty];
fn take_observation_period(&mut self) -> Vec<ObservationPeriodProperty>;
fn get_variable_measured(&self) -> &[VariableMeasuredProperty];
fn take_variable_measured(&mut self) -> Vec<VariableMeasuredProperty>;
}
Expand description
This trait is for properties from https://schema.org/Observation.
Required Methods§
sourcefn get_margin_of_error(&self) -> &[MarginOfErrorProperty]
fn get_margin_of_error(&self) -> &[MarginOfErrorProperty]
Get https://schema.org/marginOfError from Self
as borrowed slice.
sourcefn take_margin_of_error(&mut self) -> Vec<MarginOfErrorProperty>
fn take_margin_of_error(&mut self) -> Vec<MarginOfErrorProperty>
Take https://schema.org/marginOfError from Self
as owned vector.
sourcefn get_measured_property(&self) -> &[MeasuredPropertyProperty]
fn get_measured_property(&self) -> &[MeasuredPropertyProperty]
Get https://schema.org/measuredProperty from Self
as borrowed slice.
sourcefn take_measured_property(&mut self) -> Vec<MeasuredPropertyProperty>
fn take_measured_property(&mut self) -> Vec<MeasuredPropertyProperty>
Take https://schema.org/measuredProperty from Self
as owned vector.
sourcefn get_measurement_denominator(&self) -> &[MeasurementDenominatorProperty]
fn get_measurement_denominator(&self) -> &[MeasurementDenominatorProperty]
Get https://schema.org/measurementDenominator from Self
as borrowed slice.
sourcefn take_measurement_denominator(
&mut self
) -> Vec<MeasurementDenominatorProperty>
fn take_measurement_denominator( &mut self ) -> Vec<MeasurementDenominatorProperty>
Take https://schema.org/measurementDenominator from Self
as owned vector.
sourcefn get_measurement_method(&self) -> &[MeasurementMethodProperty]
fn get_measurement_method(&self) -> &[MeasurementMethodProperty]
Get https://schema.org/measurementMethod from Self
as borrowed slice.
sourcefn take_measurement_method(&mut self) -> Vec<MeasurementMethodProperty>
fn take_measurement_method(&mut self) -> Vec<MeasurementMethodProperty>
Take https://schema.org/measurementMethod from Self
as owned vector.
sourcefn get_measurement_qualifier(&self) -> &[MeasurementQualifierProperty]
fn get_measurement_qualifier(&self) -> &[MeasurementQualifierProperty]
Get https://schema.org/measurementQualifier from Self
as borrowed slice.
sourcefn take_measurement_qualifier(&mut self) -> Vec<MeasurementQualifierProperty>
fn take_measurement_qualifier(&mut self) -> Vec<MeasurementQualifierProperty>
Take https://schema.org/measurementQualifier from Self
as owned vector.
sourcefn get_measurement_technique(&self) -> &[MeasurementTechniqueProperty]
fn get_measurement_technique(&self) -> &[MeasurementTechniqueProperty]
Get https://schema.org/measurementTechnique from Self
as borrowed slice.
sourcefn take_measurement_technique(&mut self) -> Vec<MeasurementTechniqueProperty>
fn take_measurement_technique(&mut self) -> Vec<MeasurementTechniqueProperty>
Take https://schema.org/measurementTechnique from Self
as owned vector.
sourcefn get_observation_about(&self) -> &[ObservationAboutProperty]
fn get_observation_about(&self) -> &[ObservationAboutProperty]
Get https://schema.org/observationAbout from Self
as borrowed slice.
sourcefn take_observation_about(&mut self) -> Vec<ObservationAboutProperty>
fn take_observation_about(&mut self) -> Vec<ObservationAboutProperty>
Take https://schema.org/observationAbout from Self
as owned vector.
sourcefn get_observation_date(&self) -> &[ObservationDateProperty]
fn get_observation_date(&self) -> &[ObservationDateProperty]
Get https://schema.org/observationDate from Self
as borrowed slice.
sourcefn take_observation_date(&mut self) -> Vec<ObservationDateProperty>
fn take_observation_date(&mut self) -> Vec<ObservationDateProperty>
Take https://schema.org/observationDate from Self
as owned vector.
sourcefn get_observation_period(&self) -> &[ObservationPeriodProperty]
fn get_observation_period(&self) -> &[ObservationPeriodProperty]
Get https://schema.org/observationPeriod from Self
as borrowed slice.
sourcefn take_observation_period(&mut self) -> Vec<ObservationPeriodProperty>
fn take_observation_period(&mut self) -> Vec<ObservationPeriodProperty>
Take https://schema.org/observationPeriod from Self
as owned vector.
sourcefn get_variable_measured(&self) -> &[VariableMeasuredProperty]
fn get_variable_measured(&self) -> &[VariableMeasuredProperty]
Get https://schema.org/variableMeasured from Self
as borrowed slice.
sourcefn take_variable_measured(&mut self) -> Vec<VariableMeasuredProperty>
fn take_variable_measured(&mut self) -> Vec<VariableMeasuredProperty>
Take https://schema.org/variableMeasured from Self
as owned vector.