pub trait ShippingRateSettingsTrait {
    // Required methods
    fn get_does_not_ship(&self) -> &[DoesNotShipProperty];
    fn take_does_not_ship(&mut self) -> Vec<DoesNotShipProperty>;
    fn get_free_shipping_threshold(&self) -> &[FreeShippingThresholdProperty];
    fn take_free_shipping_threshold(
        &mut self
    ) -> Vec<FreeShippingThresholdProperty>;
    fn get_is_unlabelled_fallback(&self) -> &[IsUnlabelledFallbackProperty];
    fn take_is_unlabelled_fallback(
        &mut self
    ) -> Vec<IsUnlabelledFallbackProperty>;
    fn get_shipping_destination(&self) -> &[ShippingDestinationProperty];
    fn take_shipping_destination(&mut self) -> Vec<ShippingDestinationProperty>;
    fn get_shipping_label(&self) -> &[ShippingLabelProperty];
    fn take_shipping_label(&mut self) -> Vec<ShippingLabelProperty>;
    fn get_shipping_rate(&self) -> &[ShippingRateProperty];
    fn take_shipping_rate(&mut self) -> Vec<ShippingRateProperty>;
}
Expand description

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

Required Methods§

source

fn get_does_not_ship(&self) -> &[DoesNotShipProperty]

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

source

fn take_does_not_ship(&mut self) -> Vec<DoesNotShipProperty>

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

source

fn get_free_shipping_threshold(&self) -> &[FreeShippingThresholdProperty]

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

source

fn take_free_shipping_threshold(&mut self) -> Vec<FreeShippingThresholdProperty>

source

fn get_is_unlabelled_fallback(&self) -> &[IsUnlabelledFallbackProperty]

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

source

fn take_is_unlabelled_fallback(&mut self) -> Vec<IsUnlabelledFallbackProperty>

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

source

fn get_shipping_destination(&self) -> &[ShippingDestinationProperty]

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

source

fn take_shipping_destination(&mut self) -> Vec<ShippingDestinationProperty>

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

source

fn get_shipping_label(&self) -> &[ShippingLabelProperty]

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

source

fn take_shipping_label(&mut self) -> Vec<ShippingLabelProperty>

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

source

fn get_shipping_rate(&self) -> &[ShippingRateProperty]

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

source

fn take_shipping_rate(&mut self) -> Vec<ShippingRateProperty>

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

Implementors§