pub trait PropertyValueTrait {
Show 18 methods // Required methods fn get_max_value(&self) -> &[MaxValueProperty]; fn take_max_value(&mut self) -> Vec<MaxValueProperty>; fn get_measurement_method(&self) -> &[MeasurementMethodProperty]; fn take_measurement_method(&mut self) -> Vec<MeasurementMethodProperty>; fn get_measurement_technique(&self) -> &[MeasurementTechniqueProperty]; fn take_measurement_technique( &mut self ) -> Vec<MeasurementTechniqueProperty>; fn get_min_value(&self) -> &[MinValueProperty]; fn take_min_value(&mut self) -> Vec<MinValueProperty>; fn get_property_id(&self) -> &[PropertyIdProperty]; fn take_property_id(&mut self) -> Vec<PropertyIdProperty>; fn get_unit_code(&self) -> &[UnitCodeProperty]; fn take_unit_code(&mut self) -> Vec<UnitCodeProperty>; fn get_unit_text(&self) -> &[UnitTextProperty]; fn take_unit_text(&mut self) -> Vec<UnitTextProperty>; fn get_value(&self) -> &[ValueProperty]; fn take_value(&mut self) -> Vec<ValueProperty>; fn get_value_reference(&self) -> &[ValueReferenceProperty]; fn take_value_reference(&mut self) -> Vec<ValueReferenceProperty>;
}
Expand description

This trait is for properties from https://schema.org/PropertyValue.

Required Methods§

source

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>

Take https://schema.org/maxValue from Self as owned vector.

source

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>

Take https://schema.org/measurementMethod from Self as owned vector.

source

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>

Take https://schema.org/measurementTechnique from Self as owned vector.

source

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>

Take https://schema.org/minValue from Self as owned vector.

source

fn get_property_id(&self) -> &[PropertyIdProperty]

Get https://schema.org/propertyID from Self as borrowed slice.

source

fn take_property_id(&mut self) -> Vec<PropertyIdProperty>

Take https://schema.org/propertyID from Self as owned vector.

source

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>

Take https://schema.org/unitCode from Self as owned vector.

source

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>

Take https://schema.org/unitText from Self as owned vector.

source

fn get_value(&self) -> &[ValueProperty]

Get https://schema.org/value from Self as borrowed slice.

source

fn take_value(&mut self) -> Vec<ValueProperty>

Take https://schema.org/value from Self as owned vector.

source

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>

Take https://schema.org/valueReference from Self as owned vector.

Implementors§