pub struct Demand {
Show 46 fields pub accepted_payment_method: Vec<AcceptedPaymentMethodProperty>, pub advance_booking_requirement: Vec<AdvanceBookingRequirementProperty>, pub area_served: Vec<AreaServedProperty>, pub asin: Vec<AsinProperty>, pub availability: Vec<AvailabilityProperty>, pub availability_ends: Vec<AvailabilityEndsProperty>, pub availability_starts: Vec<AvailabilityStartsProperty>, pub available_at_or_from: Vec<AvailableAtOrFromProperty>, pub available_delivery_method: Vec<AvailableDeliveryMethodProperty>, pub business_function: Vec<BusinessFunctionProperty>, pub delivery_lead_time: Vec<DeliveryLeadTimeProperty>, pub eligible_customer_type: Vec<EligibleCustomerTypeProperty>, pub eligible_duration: Vec<EligibleDurationProperty>, pub eligible_quantity: Vec<EligibleQuantityProperty>, pub eligible_region: Vec<EligibleRegionProperty>, pub eligible_transaction_volume: Vec<EligibleTransactionVolumeProperty>, pub gtin: Vec<GtinProperty>, pub gtin_12: Vec<Gtin12Property>, pub gtin_13: Vec<Gtin13Property>, pub gtin_14: Vec<Gtin14Property>, pub gtin_8: Vec<Gtin8Property>, pub includes_object: Vec<IncludesObjectProperty>, pub ineligible_region: Vec<IneligibleRegionProperty>, pub inventory_level: Vec<InventoryLevelProperty>, pub item_condition: Vec<ItemConditionProperty>, pub item_offered: Vec<ItemOfferedProperty>, pub mpn: Vec<MpnProperty>, pub price_specification: Vec<PriceSpecificationProperty>, pub seller: Vec<SellerProperty>, pub serial_number: Vec<SerialNumberProperty>, pub sku: Vec<SkuProperty>, pub valid_from: Vec<ValidFromProperty>, pub valid_through: Vec<ValidThroughProperty>, pub warranty: Vec<WarrantyProperty>, 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§

§accepted_payment_method: Vec<AcceptedPaymentMethodProperty>§advance_booking_requirement: Vec<AdvanceBookingRequirementProperty>§area_served: Vec<AreaServedProperty>§asin: Vec<AsinProperty>§availability: Vec<AvailabilityProperty>§availability_ends: Vec<AvailabilityEndsProperty>§availability_starts: Vec<AvailabilityStartsProperty>§available_at_or_from: Vec<AvailableAtOrFromProperty>§available_delivery_method: Vec<AvailableDeliveryMethodProperty>§business_function: Vec<BusinessFunctionProperty>§delivery_lead_time: Vec<DeliveryLeadTimeProperty>§eligible_customer_type: Vec<EligibleCustomerTypeProperty>§eligible_duration: Vec<EligibleDurationProperty>§eligible_quantity: Vec<EligibleQuantityProperty>§eligible_region: Vec<EligibleRegionProperty>§eligible_transaction_volume: Vec<EligibleTransactionVolumeProperty>§gtin: Vec<GtinProperty>§gtin_12: Vec<Gtin12Property>§gtin_13: Vec<Gtin13Property>§gtin_14: Vec<Gtin14Property>§gtin_8: Vec<Gtin8Property>§includes_object: Vec<IncludesObjectProperty>§ineligible_region: Vec<IneligibleRegionProperty>§inventory_level: Vec<InventoryLevelProperty>§item_condition: Vec<ItemConditionProperty>§item_offered: Vec<ItemOfferedProperty>§mpn: Vec<MpnProperty>§price_specification: Vec<PriceSpecificationProperty>§seller: Vec<SellerProperty>§serial_number: Vec<SerialNumberProperty>§sku: Vec<SkuProperty>§valid_from: Vec<ValidFromProperty>§valid_through: Vec<ValidThroughProperty>§warranty: Vec<WarrantyProperty>§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 DemandTrait for Demand

source§

fn get_accepted_payment_method(&self) -> &[AcceptedPaymentMethodProperty]

source§

fn take_accepted_payment_method(&mut self) -> Vec<AcceptedPaymentMethodProperty>

source§

fn get_advance_booking_requirement( &self ) -> &[AdvanceBookingRequirementProperty]

source§

fn take_advance_booking_requirement( &mut self ) -> Vec<AdvanceBookingRequirementProperty>

source§

fn get_area_served(&self) -> &[AreaServedProperty]

Get https://schema.org/areaServed from Self as borrowed slice.
source§

fn take_area_served(&mut self) -> Vec<AreaServedProperty>

Take https://schema.org/areaServed from Self as owned vector.
source§

fn get_asin(&self) -> &[AsinProperty]

Get https://schema.org/asin from Self as borrowed slice.
source§

fn take_asin(&mut self) -> Vec<AsinProperty>

Take https://schema.org/asin from Self as owned vector.
source§

fn get_availability(&self) -> &[AvailabilityProperty]

Get https://schema.org/availability from Self as borrowed slice.
source§

fn take_availability(&mut self) -> Vec<AvailabilityProperty>

Take https://schema.org/availability from Self as owned vector.
source§

fn get_availability_ends(&self) -> &[AvailabilityEndsProperty]

Get https://schema.org/availabilityEnds from Self as borrowed slice.
source§

fn take_availability_ends(&mut self) -> Vec<AvailabilityEndsProperty>

Take https://schema.org/availabilityEnds from Self as owned vector.
source§

fn get_availability_starts(&self) -> &[AvailabilityStartsProperty]

Get https://schema.org/availabilityStarts from Self as borrowed slice.
source§

fn take_availability_starts(&mut self) -> Vec<AvailabilityStartsProperty>

Take https://schema.org/availabilityStarts from Self as owned vector.
source§

fn get_available_at_or_from(&self) -> &[AvailableAtOrFromProperty]

Get https://schema.org/availableAtOrFrom from Self as borrowed slice.
source§

fn take_available_at_or_from(&mut self) -> Vec<AvailableAtOrFromProperty>

Take https://schema.org/availableAtOrFrom from Self as owned vector.
source§

fn get_available_delivery_method(&self) -> &[AvailableDeliveryMethodProperty]

source§

fn take_available_delivery_method( &mut self ) -> Vec<AvailableDeliveryMethodProperty>

source§

fn get_business_function(&self) -> &[BusinessFunctionProperty]

Get https://schema.org/businessFunction from Self as borrowed slice.
source§

fn take_business_function(&mut self) -> Vec<BusinessFunctionProperty>

Take https://schema.org/businessFunction from Self as owned vector.
source§

fn get_delivery_lead_time(&self) -> &[DeliveryLeadTimeProperty]

Get https://schema.org/deliveryLeadTime from Self as borrowed slice.
source§

fn take_delivery_lead_time(&mut self) -> Vec<DeliveryLeadTimeProperty>

Take https://schema.org/deliveryLeadTime from Self as owned vector.
source§

fn get_eligible_customer_type(&self) -> &[EligibleCustomerTypeProperty]

Get https://schema.org/eligibleCustomerType from Self as borrowed slice.
source§

fn take_eligible_customer_type(&mut self) -> Vec<EligibleCustomerTypeProperty>

source§

fn get_eligible_duration(&self) -> &[EligibleDurationProperty]

Get https://schema.org/eligibleDuration from Self as borrowed slice.
source§

fn take_eligible_duration(&mut self) -> Vec<EligibleDurationProperty>

Take https://schema.org/eligibleDuration from Self as owned vector.
source§

fn get_eligible_quantity(&self) -> &[EligibleQuantityProperty]

Get https://schema.org/eligibleQuantity from Self as borrowed slice.
source§

fn take_eligible_quantity(&mut self) -> Vec<EligibleQuantityProperty>

Take https://schema.org/eligibleQuantity from Self as owned vector.
source§

fn get_eligible_region(&self) -> &[EligibleRegionProperty]

Get https://schema.org/eligibleRegion from Self as borrowed slice.
source§

fn take_eligible_region(&mut self) -> Vec<EligibleRegionProperty>

Take https://schema.org/eligibleRegion from Self as owned vector.
source§

fn get_eligible_transaction_volume( &self ) -> &[EligibleTransactionVolumeProperty]

source§

fn take_eligible_transaction_volume( &mut self ) -> Vec<EligibleTransactionVolumeProperty>

source§

fn get_gtin(&self) -> &[GtinProperty]

Get https://schema.org/gtin from Self as borrowed slice.
source§

fn take_gtin(&mut self) -> Vec<GtinProperty>

Take https://schema.org/gtin from Self as owned vector.
source§

fn get_gtin_12(&self) -> &[Gtin12Property]

Get https://schema.org/gtin12 from Self as borrowed slice.
source§

fn take_gtin_12(&mut self) -> Vec<Gtin12Property>

Take https://schema.org/gtin12 from Self as owned vector.
source§

fn get_gtin_13(&self) -> &[Gtin13Property]

Get https://schema.org/gtin13 from Self as borrowed slice.
source§

fn take_gtin_13(&mut self) -> Vec<Gtin13Property>

Take https://schema.org/gtin13 from Self as owned vector.
source§

fn get_gtin_14(&self) -> &[Gtin14Property]

Get https://schema.org/gtin14 from Self as borrowed slice.
source§

fn take_gtin_14(&mut self) -> Vec<Gtin14Property>

Take https://schema.org/gtin14 from Self as owned vector.
source§

fn get_gtin_8(&self) -> &[Gtin8Property]

Get https://schema.org/gtin8 from Self as borrowed slice.
source§

fn take_gtin_8(&mut self) -> Vec<Gtin8Property>

Take https://schema.org/gtin8 from Self as owned vector.
source§

fn get_includes_object(&self) -> &[IncludesObjectProperty]

Get https://schema.org/includesObject from Self as borrowed slice.
source§

fn take_includes_object(&mut self) -> Vec<IncludesObjectProperty>

Take https://schema.org/includesObject from Self as owned vector.
source§

fn get_ineligible_region(&self) -> &[IneligibleRegionProperty]

Get https://schema.org/ineligibleRegion from Self as borrowed slice.
source§

fn take_ineligible_region(&mut self) -> Vec<IneligibleRegionProperty>

Take https://schema.org/ineligibleRegion from Self as owned vector.
source§

fn get_inventory_level(&self) -> &[InventoryLevelProperty]

Get https://schema.org/inventoryLevel from Self as borrowed slice.
source§

fn take_inventory_level(&mut self) -> Vec<InventoryLevelProperty>

Take https://schema.org/inventoryLevel from Self as owned vector.
source§

fn get_item_condition(&self) -> &[ItemConditionProperty]

Get https://schema.org/itemCondition from Self as borrowed slice.
source§

fn take_item_condition(&mut self) -> Vec<ItemConditionProperty>

Take https://schema.org/itemCondition from Self as owned vector.
source§

fn get_item_offered(&self) -> &[ItemOfferedProperty]

Get https://schema.org/itemOffered from Self as borrowed slice.
source§

fn take_item_offered(&mut self) -> Vec<ItemOfferedProperty>

Take https://schema.org/itemOffered from Self as owned vector.
source§

fn get_mpn(&self) -> &[MpnProperty]

Get https://schema.org/mpn from Self as borrowed slice.
source§

fn take_mpn(&mut self) -> Vec<MpnProperty>

Take https://schema.org/mpn from Self as owned vector.
source§

fn get_price_specification(&self) -> &[PriceSpecificationProperty]

Get https://schema.org/priceSpecification from Self as borrowed slice.
source§

fn take_price_specification(&mut self) -> Vec<PriceSpecificationProperty>

Take https://schema.org/priceSpecification from Self as owned vector.
source§

fn get_seller(&self) -> &[SellerProperty]

Get https://schema.org/seller from Self as borrowed slice.
source§

fn take_seller(&mut self) -> Vec<SellerProperty>

Take https://schema.org/seller from Self as owned vector.
source§

fn get_serial_number(&self) -> &[SerialNumberProperty]

Get https://schema.org/serialNumber from Self as borrowed slice.
source§

fn take_serial_number(&mut self) -> Vec<SerialNumberProperty>

Take https://schema.org/serialNumber from Self as owned vector.
source§

fn get_sku(&self) -> &[SkuProperty]

Get https://schema.org/sku from Self as borrowed slice.
source§

fn take_sku(&mut self) -> Vec<SkuProperty>

Take https://schema.org/sku from Self as owned vector.
source§

fn get_valid_from(&self) -> &[ValidFromProperty]

Get https://schema.org/validFrom from Self as borrowed slice.
source§

fn take_valid_from(&mut self) -> Vec<ValidFromProperty>

Take https://schema.org/validFrom from Self as owned vector.
source§

fn get_valid_through(&self) -> &[ValidThroughProperty]

Get https://schema.org/validThrough from Self as borrowed slice.
source§

fn take_valid_through(&mut self) -> Vec<ValidThroughProperty>

Take https://schema.org/validThrough from Self as owned vector.
source§

fn get_warranty(&self) -> &[WarrantyProperty]

Get https://schema.org/warranty from Self as borrowed slice.
source§

fn take_warranty(&mut self) -> Vec<WarrantyProperty>

Take https://schema.org/warranty from Self as owned vector.
source§

impl ThingTrait for Demand

source§

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>

Take https://schema.org/additionalType from Self as owned vector.
source§

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>

Take https://schema.org/alternateName from Self as owned vector.
source§

fn get_description(&self) -> &[DescriptionProperty]

Get https://schema.org/description from Self as borrowed slice.
source§

fn take_description(&mut self) -> Vec<DescriptionProperty>

Take https://schema.org/description from Self as owned vector.
source§

fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]

source§

fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>

source§

fn get_identifier(&self) -> &[IdentifierProperty]

Get https://schema.org/identifier from Self as borrowed slice.
source§

fn take_identifier(&mut self) -> Vec<IdentifierProperty>

Take https://schema.org/identifier from Self as owned vector.
source§

fn get_image(&self) -> &[ImageProperty]

Get https://schema.org/image from Self as borrowed slice.
source§

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]

Get https://schema.org/mainEntityOfPage from Self as borrowed slice.
source§

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]

Get https://schema.org/name from Self as borrowed slice.
source§

fn take_name(&mut self) -> Vec<NameProperty>

Take https://schema.org/name from Self as owned vector.
source§

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>

Take https://schema.org/potentialAction from Self as owned vector.
source§

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>

Take https://schema.org/sameAs from Self as owned vector.
source§

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>

Take https://schema.org/subjectOf from Self as owned vector.
source§

fn get_url(&self) -> &[UrlProperty]

Get https://schema.org/url from Self as borrowed slice.
source§

fn take_url(&mut self) -> Vec<UrlProperty>

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.