pub trait UnitPriceSpecificationTrait {
Show 16 methods // Required methods fn get_billing_duration(&self) -> &[BillingDurationProperty]; fn take_billing_duration(&mut self) -> Vec<BillingDurationProperty>; fn get_billing_increment(&self) -> &[BillingIncrementProperty]; fn take_billing_increment(&mut self) -> Vec<BillingIncrementProperty>; fn get_billing_start(&self) -> &[BillingStartProperty]; fn take_billing_start(&mut self) -> Vec<BillingStartProperty>; fn get_price_component_type(&self) -> &[PriceComponentTypeProperty]; fn take_price_component_type(&mut self) -> Vec<PriceComponentTypeProperty>; fn get_price_type(&self) -> &[PriceTypeProperty]; fn take_price_type(&mut self) -> Vec<PriceTypeProperty>; fn get_reference_quantity(&self) -> &[ReferenceQuantityProperty]; fn take_reference_quantity(&mut self) -> Vec<ReferenceQuantityProperty>; 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>;
}
Expand description

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

Required Methods§

source

fn get_billing_duration(&self) -> &[BillingDurationProperty]

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

source

fn take_billing_duration(&mut self) -> Vec<BillingDurationProperty>

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

source

fn get_billing_increment(&self) -> &[BillingIncrementProperty]

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

source

fn take_billing_increment(&mut self) -> Vec<BillingIncrementProperty>

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

source

fn get_billing_start(&self) -> &[BillingStartProperty]

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

source

fn take_billing_start(&mut self) -> Vec<BillingStartProperty>

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

source

fn get_price_component_type(&self) -> &[PriceComponentTypeProperty]

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

source

fn take_price_component_type(&mut self) -> Vec<PriceComponentTypeProperty>

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

source

fn get_price_type(&self) -> &[PriceTypeProperty]

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

source

fn take_price_type(&mut self) -> Vec<PriceTypeProperty>

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

source

fn get_reference_quantity(&self) -> &[ReferenceQuantityProperty]

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

source

fn take_reference_quantity(&mut self) -> Vec<ReferenceQuantityProperty>

Take https://schema.org/referenceQuantity 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.

Implementors§