pub trait QuantitativeValueTrait {
Show 14 methods
// Required methods
fn get_additional_property(&self) -> &[AdditionalPropertyProperty];
fn take_additional_property(&mut self) -> Vec<AdditionalPropertyProperty>;
fn get_max_value(&self) -> &[MaxValueProperty];
fn take_max_value(&mut self) -> Vec<MaxValueProperty>;
fn get_min_value(&self) -> &[MinValueProperty];
fn take_min_value(&mut self) -> Vec<MinValueProperty>;
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/QuantitativeValue.
Required Methods§
sourcefn get_additional_property(&self) -> &[AdditionalPropertyProperty]
fn get_additional_property(&self) -> &[AdditionalPropertyProperty]
Get https://schema.org/additionalProperty from Self
as borrowed slice.
sourcefn 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.
sourcefn get_max_value(&self) -> &[MaxValueProperty]
fn get_max_value(&self) -> &[MaxValueProperty]
Get https://schema.org/maxValue from Self
as borrowed slice.
sourcefn 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.
sourcefn get_min_value(&self) -> &[MinValueProperty]
fn get_min_value(&self) -> &[MinValueProperty]
Get https://schema.org/minValue from Self
as borrowed slice.
sourcefn 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.
sourcefn get_unit_code(&self) -> &[UnitCodeProperty]
fn get_unit_code(&self) -> &[UnitCodeProperty]
Get https://schema.org/unitCode from Self
as borrowed slice.
sourcefn 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.
sourcefn get_unit_text(&self) -> &[UnitTextProperty]
fn get_unit_text(&self) -> &[UnitTextProperty]
Get https://schema.org/unitText from Self
as borrowed slice.
sourcefn 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.
sourcefn get_value(&self) -> &[ValueProperty]
fn get_value(&self) -> &[ValueProperty]
Get https://schema.org/value from Self
as borrowed slice.
sourcefn take_value(&mut self) -> Vec<ValueProperty>
fn take_value(&mut self) -> Vec<ValueProperty>
Take https://schema.org/value from Self
as owned vector.
sourcefn get_value_reference(&self) -> &[ValueReferenceProperty]
fn get_value_reference(&self) -> &[ValueReferenceProperty]
Get https://schema.org/valueReference from Self
as borrowed slice.
sourcefn 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.