Struct schema_org_types::Observation
source · pub struct Observation {Show 29 fields
pub margin_of_error: Vec<MarginOfErrorProperty>,
pub measured_property: Vec<MeasuredPropertyProperty>,
pub measurement_denominator: Vec<MeasurementDenominatorProperty>,
pub measurement_method: Vec<MeasurementMethodProperty>,
pub measurement_qualifier: Vec<MeasurementQualifierProperty>,
pub measurement_technique: Vec<MeasurementTechniqueProperty>,
pub observation_about: Vec<ObservationAboutProperty>,
pub observation_date: Vec<ObservationDateProperty>,
pub observation_period: Vec<ObservationPeriodProperty>,
pub variable_measured: Vec<VariableMeasuredProperty>,
pub additional_property: Vec<AdditionalPropertyProperty>,
pub max_value: Vec<MaxValueProperty>,
pub min_value: Vec<MinValueProperty>,
pub unit_code: Vec<UnitCodeProperty>,
pub unit_text: Vec<UnitTextProperty>,
pub value: Vec<ValueProperty>,
pub value_reference: Vec<ValueReferenceProperty>,
pub additional_type: Vec<AdditionalTypeProperty>,
pub alternate_name: Vec<AlternateNameProperty>,
pub description: Vec<DescriptionProperty>,
pub disambiguating_description: Vec<DisambiguatingDescriptionProperty>,
pub identifier: Vec<IdentifierProperty>,
pub image: Vec<ImageProperty>,
pub main_entity_of_page: Vec<MainEntityOfPageProperty>,
pub name: Vec<NameProperty>,
pub potential_action: Vec<PotentialActionProperty>,
pub same_as: Vec<SameAsProperty>,
pub subject_of: Vec<SubjectOfProperty>,
pub url: Vec<UrlProperty>,
}
Expand description
Fields§
§margin_of_error: Vec<MarginOfErrorProperty>
§measured_property: Vec<MeasuredPropertyProperty>
§measurement_denominator: Vec<MeasurementDenominatorProperty>
§measurement_method: Vec<MeasurementMethodProperty>
§measurement_qualifier: Vec<MeasurementQualifierProperty>
§measurement_technique: Vec<MeasurementTechniqueProperty>
§observation_about: Vec<ObservationAboutProperty>
§observation_date: Vec<ObservationDateProperty>
§observation_period: Vec<ObservationPeriodProperty>
§variable_measured: Vec<VariableMeasuredProperty>
§additional_property: Vec<AdditionalPropertyProperty>
§max_value: Vec<MaxValueProperty>
§min_value: Vec<MinValueProperty>
§unit_code: Vec<UnitCodeProperty>
§unit_text: Vec<UnitTextProperty>
§value: Vec<ValueProperty>
§value_reference: Vec<ValueReferenceProperty>
§additional_type: Vec<AdditionalTypeProperty>
§alternate_name: Vec<AlternateNameProperty>
§description: Vec<DescriptionProperty>
§disambiguating_description: Vec<DisambiguatingDescriptionProperty>
§identifier: Vec<IdentifierProperty>
§image: Vec<ImageProperty>
§main_entity_of_page: Vec<MainEntityOfPageProperty>
§name: Vec<NameProperty>
§potential_action: Vec<PotentialActionProperty>
§same_as: Vec<SameAsProperty>
§subject_of: Vec<SubjectOfProperty>
§url: Vec<UrlProperty>
Trait Implementations§
source§impl ObservationTrait for Observation
impl ObservationTrait for Observation
source§fn get_margin_of_error(&self) -> &[MarginOfErrorProperty]
fn get_margin_of_error(&self) -> &[MarginOfErrorProperty]
Get https://schema.org/marginOfError from
Self
as borrowed slice.source§fn 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.source§fn get_measured_property(&self) -> &[MeasuredPropertyProperty]
fn get_measured_property(&self) -> &[MeasuredPropertyProperty]
Get https://schema.org/measuredProperty from
Self
as borrowed slice.source§fn 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.source§fn get_measurement_denominator(&self) -> &[MeasurementDenominatorProperty]
fn get_measurement_denominator(&self) -> &[MeasurementDenominatorProperty]
Get https://schema.org/measurementDenominator from
Self
as borrowed slice.source§fn 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.source§fn get_measurement_method(&self) -> &[MeasurementMethodProperty]
fn get_measurement_method(&self) -> &[MeasurementMethodProperty]
Get https://schema.org/measurementMethod from
Self
as borrowed slice.source§fn 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.source§fn get_measurement_qualifier(&self) -> &[MeasurementQualifierProperty]
fn get_measurement_qualifier(&self) -> &[MeasurementQualifierProperty]
Get https://schema.org/measurementQualifier from
Self
as borrowed slice.source§fn 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.source§fn get_measurement_technique(&self) -> &[MeasurementTechniqueProperty]
fn get_measurement_technique(&self) -> &[MeasurementTechniqueProperty]
Get https://schema.org/measurementTechnique from
Self
as borrowed slice.source§fn 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.source§fn get_observation_about(&self) -> &[ObservationAboutProperty]
fn get_observation_about(&self) -> &[ObservationAboutProperty]
Get https://schema.org/observationAbout from
Self
as borrowed slice.source§fn 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.source§fn get_observation_date(&self) -> &[ObservationDateProperty]
fn get_observation_date(&self) -> &[ObservationDateProperty]
Get https://schema.org/observationDate from
Self
as borrowed slice.source§fn 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.source§fn get_observation_period(&self) -> &[ObservationPeriodProperty]
fn get_observation_period(&self) -> &[ObservationPeriodProperty]
Get https://schema.org/observationPeriod from
Self
as borrowed slice.source§fn 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.source§fn get_variable_measured(&self) -> &[VariableMeasuredProperty]
fn get_variable_measured(&self) -> &[VariableMeasuredProperty]
Get https://schema.org/variableMeasured from
Self
as borrowed slice.source§fn 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.source§impl QuantitativeValueTrait for Observation
impl QuantitativeValueTrait for Observation
source§fn get_additional_property(&self) -> &[AdditionalPropertyProperty]
fn get_additional_property(&self) -> &[AdditionalPropertyProperty]
Get https://schema.org/additionalProperty from
Self
as borrowed slice.source§fn take_additional_property(&mut self) -> Vec<AdditionalPropertyProperty>
fn take_additional_property(&mut self) -> Vec<AdditionalPropertyProperty>
Take https://schema.org/additionalProperty from
Self
as owned vector.source§fn get_max_value(&self) -> &[MaxValueProperty]
fn get_max_value(&self) -> &[MaxValueProperty]
Get https://schema.org/maxValue from
Self
as borrowed slice.source§fn take_max_value(&mut self) -> Vec<MaxValueProperty>
fn take_max_value(&mut self) -> Vec<MaxValueProperty>
Take https://schema.org/maxValue from
Self
as owned vector.source§fn get_min_value(&self) -> &[MinValueProperty]
fn get_min_value(&self) -> &[MinValueProperty]
Get https://schema.org/minValue from
Self
as borrowed slice.source§fn take_min_value(&mut self) -> Vec<MinValueProperty>
fn take_min_value(&mut self) -> Vec<MinValueProperty>
Take https://schema.org/minValue from
Self
as owned vector.source§fn get_unit_code(&self) -> &[UnitCodeProperty]
fn get_unit_code(&self) -> &[UnitCodeProperty]
Get https://schema.org/unitCode from
Self
as borrowed slice.source§fn take_unit_code(&mut self) -> Vec<UnitCodeProperty>
fn take_unit_code(&mut self) -> Vec<UnitCodeProperty>
Take https://schema.org/unitCode from
Self
as owned vector.source§fn get_unit_text(&self) -> &[UnitTextProperty]
fn get_unit_text(&self) -> &[UnitTextProperty]
Get https://schema.org/unitText from
Self
as borrowed slice.source§fn take_unit_text(&mut self) -> Vec<UnitTextProperty>
fn take_unit_text(&mut self) -> Vec<UnitTextProperty>
Take https://schema.org/unitText from
Self
as owned vector.source§fn get_value(&self) -> &[ValueProperty]
fn get_value(&self) -> &[ValueProperty]
Get https://schema.org/value from
Self
as borrowed slice.source§fn take_value(&mut self) -> Vec<ValueProperty>
fn take_value(&mut self) -> Vec<ValueProperty>
Take https://schema.org/value from
Self
as owned vector.source§fn get_value_reference(&self) -> &[ValueReferenceProperty]
fn get_value_reference(&self) -> &[ValueReferenceProperty]
Get https://schema.org/valueReference from
Self
as borrowed slice.source§fn take_value_reference(&mut self) -> Vec<ValueReferenceProperty>
fn take_value_reference(&mut self) -> Vec<ValueReferenceProperty>
Take https://schema.org/valueReference from
Self
as owned vector.source§impl ThingTrait for Observation
impl ThingTrait for Observation
source§fn get_additional_type(&self) -> &[AdditionalTypeProperty]
fn get_additional_type(&self) -> &[AdditionalTypeProperty]
Get https://schema.org/additionalType from
Self
as borrowed slice.source§fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
Take https://schema.org/additionalType from
Self
as owned vector.source§fn get_alternate_name(&self) -> &[AlternateNameProperty]
fn get_alternate_name(&self) -> &[AlternateNameProperty]
Get https://schema.org/alternateName from
Self
as borrowed slice.source§fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
Take https://schema.org/alternateName from
Self
as owned vector.source§fn get_description(&self) -> &[DescriptionProperty]
fn get_description(&self) -> &[DescriptionProperty]
Get https://schema.org/description from
Self
as borrowed slice.source§fn take_description(&mut self) -> Vec<DescriptionProperty>
fn take_description(&mut self) -> Vec<DescriptionProperty>
Take https://schema.org/description from
Self
as owned vector.source§fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
Get https://schema.org/disambiguatingDescription from
Self
as borrowed slice.source§fn take_disambiguating_description(
&mut self
) -> Vec<DisambiguatingDescriptionProperty>
fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>
Take https://schema.org/disambiguatingDescription from
Self
as owned vector.source§fn get_identifier(&self) -> &[IdentifierProperty]
fn get_identifier(&self) -> &[IdentifierProperty]
Get https://schema.org/identifier from
Self
as borrowed slice.source§fn take_identifier(&mut self) -> Vec<IdentifierProperty>
fn take_identifier(&mut self) -> Vec<IdentifierProperty>
Take https://schema.org/identifier from
Self
as owned vector.source§fn get_image(&self) -> &[ImageProperty]
fn get_image(&self) -> &[ImageProperty]
Get https://schema.org/image from
Self
as borrowed slice.source§fn take_image(&mut self) -> Vec<ImageProperty>
fn take_image(&mut self) -> Vec<ImageProperty>
Take https://schema.org/image from
Self
as owned vector.source§fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
Get https://schema.org/mainEntityOfPage from
Self
as borrowed slice.source§fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
Take https://schema.org/mainEntityOfPage from
Self
as owned vector.source§fn get_name(&self) -> &[NameProperty]
fn get_name(&self) -> &[NameProperty]
Get https://schema.org/name from
Self
as borrowed slice.source§fn take_name(&mut self) -> Vec<NameProperty>
fn take_name(&mut self) -> Vec<NameProperty>
Take https://schema.org/name from
Self
as owned vector.source§fn get_potential_action(&self) -> &[PotentialActionProperty]
fn get_potential_action(&self) -> &[PotentialActionProperty]
Get https://schema.org/potentialAction from
Self
as borrowed slice.source§fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
Take https://schema.org/potentialAction from
Self
as owned vector.source§fn get_same_as(&self) -> &[SameAsProperty]
fn get_same_as(&self) -> &[SameAsProperty]
Get https://schema.org/sameAs from
Self
as borrowed slice.source§fn take_same_as(&mut self) -> Vec<SameAsProperty>
fn take_same_as(&mut self) -> Vec<SameAsProperty>
Take https://schema.org/sameAs from
Self
as owned vector.source§fn get_subject_of(&self) -> &[SubjectOfProperty]
fn get_subject_of(&self) -> &[SubjectOfProperty]
Get https://schema.org/subjectOf from
Self
as borrowed slice.source§fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
Take https://schema.org/subjectOf from
Self
as owned vector.source§fn get_url(&self) -> &[UrlProperty]
fn get_url(&self) -> &[UrlProperty]
Get https://schema.org/url from
Self
as borrowed slice.source§fn take_url(&mut self) -> Vec<UrlProperty>
fn take_url(&mut self) -> Vec<UrlProperty>
Take https://schema.org/url from
Self
as owned vector.impl StructuredValueTrait for Observation
Auto Trait Implementations§
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnwindSafe for Observation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more