Struct schema_org_types::Offer
source · pub struct Offer {Show 63 fields
pub accepted_payment_method: Vec<AcceptedPaymentMethodProperty>,
pub add_on: Vec<AddOnProperty>,
pub advance_booking_requirement: Vec<AdvanceBookingRequirementProperty>,
pub aggregate_rating: Vec<AggregateRatingProperty>,
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 category: Vec<CategoryProperty>,
pub checkout_page_url_template: Vec<CheckoutPageUrlTemplateProperty>,
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 has_adult_consideration: Vec<HasAdultConsiderationProperty>,
pub has_measurement: Vec<HasMeasurementProperty>,
pub has_merchant_return_policy: Vec<HasMerchantReturnPolicyProperty>,
pub includes_object: Vec<IncludesObjectProperty>,
pub ineligible_region: Vec<IneligibleRegionProperty>,
pub inventory_level: Vec<InventoryLevelProperty>,
pub is_family_friendly: Vec<IsFamilyFriendlyProperty>,
pub item_condition: Vec<ItemConditionProperty>,
pub item_offered: Vec<ItemOfferedProperty>,
pub lease_length: Vec<LeaseLengthProperty>,
pub mobile_url: Vec<MobileUrlProperty>,
pub mpn: Vec<MpnProperty>,
pub offered_by: Vec<OfferedByProperty>,
pub price: Vec<PriceProperty>,
pub price_currency: Vec<PriceCurrencyProperty>,
pub price_specification: Vec<PriceSpecificationProperty>,
pub price_valid_until: Vec<PriceValidUntilProperty>,
pub review: Vec<ReviewProperty>,
pub reviews: Vec<ReviewsProperty>,
pub seller: Vec<SellerProperty>,
pub serial_number: Vec<SerialNumberProperty>,
pub shipping_details: Vec<ShippingDetailsProperty>,
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>
§add_on: Vec<AddOnProperty>
§advance_booking_requirement: Vec<AdvanceBookingRequirementProperty>
§aggregate_rating: Vec<AggregateRatingProperty>
§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>
§category: Vec<CategoryProperty>
§checkout_page_url_template: Vec<CheckoutPageUrlTemplateProperty>
§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>
§has_adult_consideration: Vec<HasAdultConsiderationProperty>
§has_measurement: Vec<HasMeasurementProperty>
§has_merchant_return_policy: Vec<HasMerchantReturnPolicyProperty>
§includes_object: Vec<IncludesObjectProperty>
§ineligible_region: Vec<IneligibleRegionProperty>
§inventory_level: Vec<InventoryLevelProperty>
§is_family_friendly: Vec<IsFamilyFriendlyProperty>
§item_condition: Vec<ItemConditionProperty>
§item_offered: Vec<ItemOfferedProperty>
§lease_length: Vec<LeaseLengthProperty>
§mobile_url: Vec<MobileUrlProperty>
§mpn: Vec<MpnProperty>
§offered_by: Vec<OfferedByProperty>
§price: Vec<PriceProperty>
§price_currency: Vec<PriceCurrencyProperty>
§price_specification: Vec<PriceSpecificationProperty>
§price_valid_until: Vec<PriceValidUntilProperty>
§review: Vec<ReviewProperty>
§reviews: Vec<ReviewsProperty>
👎Deprecated: This schema is superseded by https://schema.org/review.
§seller: Vec<SellerProperty>
§serial_number: Vec<SerialNumberProperty>
§shipping_details: Vec<ShippingDetailsProperty>
§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 OfferTrait for Offer
impl OfferTrait for Offer
source§fn get_accepted_payment_method(&self) -> &[AcceptedPaymentMethodProperty]
fn get_accepted_payment_method(&self) -> &[AcceptedPaymentMethodProperty]
Get https://schema.org/acceptedPaymentMethod from
Self
as borrowed slice.source§fn take_accepted_payment_method(&mut self) -> Vec<AcceptedPaymentMethodProperty>
fn take_accepted_payment_method(&mut self) -> Vec<AcceptedPaymentMethodProperty>
Take https://schema.org/acceptedPaymentMethod from
Self
as owned vector.source§fn get_add_on(&self) -> &[AddOnProperty]
fn get_add_on(&self) -> &[AddOnProperty]
Get https://schema.org/addOn from
Self
as borrowed slice.source§fn take_add_on(&mut self) -> Vec<AddOnProperty>
fn take_add_on(&mut self) -> Vec<AddOnProperty>
Take https://schema.org/addOn from
Self
as owned vector.source§fn get_advance_booking_requirement(
&self
) -> &[AdvanceBookingRequirementProperty]
fn get_advance_booking_requirement( &self ) -> &[AdvanceBookingRequirementProperty]
Get https://schema.org/advanceBookingRequirement from
Self
as borrowed slice.source§fn take_advance_booking_requirement(
&mut self
) -> Vec<AdvanceBookingRequirementProperty>
fn take_advance_booking_requirement( &mut self ) -> Vec<AdvanceBookingRequirementProperty>
Take https://schema.org/advanceBookingRequirement from
Self
as owned vector.source§fn get_aggregate_rating(&self) -> &[AggregateRatingProperty]
fn get_aggregate_rating(&self) -> &[AggregateRatingProperty]
Get https://schema.org/aggregateRating from
Self
as borrowed slice.source§fn take_aggregate_rating(&mut self) -> Vec<AggregateRatingProperty>
fn take_aggregate_rating(&mut self) -> Vec<AggregateRatingProperty>
Take https://schema.org/aggregateRating from
Self
as owned vector.source§fn get_area_served(&self) -> &[AreaServedProperty]
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>
fn take_area_served(&mut self) -> Vec<AreaServedProperty>
Take https://schema.org/areaServed from
Self
as owned vector.source§fn get_asin(&self) -> &[AsinProperty]
fn get_asin(&self) -> &[AsinProperty]
Get https://schema.org/asin from
Self
as borrowed slice.source§fn take_asin(&mut self) -> Vec<AsinProperty>
fn take_asin(&mut self) -> Vec<AsinProperty>
Take https://schema.org/asin from
Self
as owned vector.source§fn get_availability(&self) -> &[AvailabilityProperty]
fn get_availability(&self) -> &[AvailabilityProperty]
Get https://schema.org/availability from
Self
as borrowed slice.source§fn take_availability(&mut self) -> Vec<AvailabilityProperty>
fn take_availability(&mut self) -> Vec<AvailabilityProperty>
Take https://schema.org/availability from
Self
as owned vector.source§fn get_availability_ends(&self) -> &[AvailabilityEndsProperty]
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>
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]
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>
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]
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>
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]
fn get_available_delivery_method(&self) -> &[AvailableDeliveryMethodProperty]
Get https://schema.org/availableDeliveryMethod from
Self
as borrowed slice.source§fn take_available_delivery_method(
&mut self
) -> Vec<AvailableDeliveryMethodProperty>
fn take_available_delivery_method( &mut self ) -> Vec<AvailableDeliveryMethodProperty>
Take https://schema.org/availableDeliveryMethod from
Self
as owned vector.source§fn get_business_function(&self) -> &[BusinessFunctionProperty]
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>
fn take_business_function(&mut self) -> Vec<BusinessFunctionProperty>
Take https://schema.org/businessFunction from
Self
as owned vector.source§fn get_category(&self) -> &[CategoryProperty]
fn get_category(&self) -> &[CategoryProperty]
Get https://schema.org/category from
Self
as borrowed slice.source§fn take_category(&mut self) -> Vec<CategoryProperty>
fn take_category(&mut self) -> Vec<CategoryProperty>
Take https://schema.org/category from
Self
as owned vector.source§fn get_checkout_page_url_template(&self) -> &[CheckoutPageUrlTemplateProperty]
fn get_checkout_page_url_template(&self) -> &[CheckoutPageUrlTemplateProperty]
Get https://schema.org/checkoutPageURLTemplate from
Self
as borrowed slice.source§fn take_checkout_page_url_template(
&mut self
) -> Vec<CheckoutPageUrlTemplateProperty>
fn take_checkout_page_url_template( &mut self ) -> Vec<CheckoutPageUrlTemplateProperty>
Take https://schema.org/checkoutPageURLTemplate from
Self
as owned vector.source§fn get_delivery_lead_time(&self) -> &[DeliveryLeadTimeProperty]
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>
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]
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>
fn take_eligible_customer_type(&mut self) -> Vec<EligibleCustomerTypeProperty>
Take https://schema.org/eligibleCustomerType from
Self
as owned vector.source§fn get_eligible_duration(&self) -> &[EligibleDurationProperty]
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>
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]
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>
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]
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>
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]
fn get_eligible_transaction_volume( &self ) -> &[EligibleTransactionVolumeProperty]
Get https://schema.org/eligibleTransactionVolume from
Self
as borrowed slice.source§fn take_eligible_transaction_volume(
&mut self
) -> Vec<EligibleTransactionVolumeProperty>
fn take_eligible_transaction_volume( &mut self ) -> Vec<EligibleTransactionVolumeProperty>
Take https://schema.org/eligibleTransactionVolume from
Self
as owned vector.source§fn get_gtin(&self) -> &[GtinProperty]
fn get_gtin(&self) -> &[GtinProperty]
Get https://schema.org/gtin from
Self
as borrowed slice.source§fn take_gtin(&mut self) -> Vec<GtinProperty>
fn take_gtin(&mut self) -> Vec<GtinProperty>
Take https://schema.org/gtin from
Self
as owned vector.source§fn get_gtin_12(&self) -> &[Gtin12Property]
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>
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]
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>
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]
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>
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]
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>
fn take_gtin_8(&mut self) -> Vec<Gtin8Property>
Take https://schema.org/gtin8 from
Self
as owned vector.source§fn get_has_adult_consideration(&self) -> &[HasAdultConsiderationProperty]
fn get_has_adult_consideration(&self) -> &[HasAdultConsiderationProperty]
Get https://schema.org/hasAdultConsideration from
Self
as borrowed slice.source§fn take_has_adult_consideration(&mut self) -> Vec<HasAdultConsiderationProperty>
fn take_has_adult_consideration(&mut self) -> Vec<HasAdultConsiderationProperty>
Take https://schema.org/hasAdultConsideration from
Self
as owned vector.source§fn get_has_measurement(&self) -> &[HasMeasurementProperty]
fn get_has_measurement(&self) -> &[HasMeasurementProperty]
Get https://schema.org/hasMeasurement from
Self
as borrowed slice.source§fn take_has_measurement(&mut self) -> Vec<HasMeasurementProperty>
fn take_has_measurement(&mut self) -> Vec<HasMeasurementProperty>
Take https://schema.org/hasMeasurement from
Self
as owned vector.source§fn get_has_merchant_return_policy(&self) -> &[HasMerchantReturnPolicyProperty]
fn get_has_merchant_return_policy(&self) -> &[HasMerchantReturnPolicyProperty]
Get https://schema.org/hasMerchantReturnPolicy from
Self
as borrowed slice.source§fn take_has_merchant_return_policy(
&mut self
) -> Vec<HasMerchantReturnPolicyProperty>
fn take_has_merchant_return_policy( &mut self ) -> Vec<HasMerchantReturnPolicyProperty>
Take https://schema.org/hasMerchantReturnPolicy from
Self
as owned vector.source§fn get_includes_object(&self) -> &[IncludesObjectProperty]
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>
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]
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>
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]
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>
fn take_inventory_level(&mut self) -> Vec<InventoryLevelProperty>
Take https://schema.org/inventoryLevel from
Self
as owned vector.source§fn get_is_family_friendly(&self) -> &[IsFamilyFriendlyProperty]
fn get_is_family_friendly(&self) -> &[IsFamilyFriendlyProperty]
Get https://schema.org/isFamilyFriendly from
Self
as borrowed slice.source§fn take_is_family_friendly(&mut self) -> Vec<IsFamilyFriendlyProperty>
fn take_is_family_friendly(&mut self) -> Vec<IsFamilyFriendlyProperty>
Take https://schema.org/isFamilyFriendly from
Self
as owned vector.source§fn get_item_condition(&self) -> &[ItemConditionProperty]
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>
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]
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>
fn take_item_offered(&mut self) -> Vec<ItemOfferedProperty>
Take https://schema.org/itemOffered from
Self
as owned vector.source§fn get_lease_length(&self) -> &[LeaseLengthProperty]
fn get_lease_length(&self) -> &[LeaseLengthProperty]
Get https://schema.org/leaseLength from
Self
as borrowed slice.source§fn take_lease_length(&mut self) -> Vec<LeaseLengthProperty>
fn take_lease_length(&mut self) -> Vec<LeaseLengthProperty>
Take https://schema.org/leaseLength from
Self
as owned vector.source§fn get_mobile_url(&self) -> &[MobileUrlProperty]
fn get_mobile_url(&self) -> &[MobileUrlProperty]
Get https://schema.org/mobileUrl from
Self
as borrowed slice.source§fn take_mobile_url(&mut self) -> Vec<MobileUrlProperty>
fn take_mobile_url(&mut self) -> Vec<MobileUrlProperty>
Take https://schema.org/mobileUrl from
Self
as owned vector.source§fn get_mpn(&self) -> &[MpnProperty]
fn get_mpn(&self) -> &[MpnProperty]
Get https://schema.org/mpn from
Self
as borrowed slice.source§fn take_mpn(&mut self) -> Vec<MpnProperty>
fn take_mpn(&mut self) -> Vec<MpnProperty>
Take https://schema.org/mpn from
Self
as owned vector.source§fn get_offered_by(&self) -> &[OfferedByProperty]
fn get_offered_by(&self) -> &[OfferedByProperty]
Get https://schema.org/offeredBy from
Self
as borrowed slice.source§fn take_offered_by(&mut self) -> Vec<OfferedByProperty>
fn take_offered_by(&mut self) -> Vec<OfferedByProperty>
Take https://schema.org/offeredBy from
Self
as owned vector.source§fn get_price(&self) -> &[PriceProperty]
fn get_price(&self) -> &[PriceProperty]
Get https://schema.org/price from
Self
as borrowed slice.source§fn take_price(&mut self) -> Vec<PriceProperty>
fn take_price(&mut self) -> Vec<PriceProperty>
Take https://schema.org/price from
Self
as owned vector.source§fn get_price_currency(&self) -> &[PriceCurrencyProperty]
fn get_price_currency(&self) -> &[PriceCurrencyProperty]
Get https://schema.org/priceCurrency from
Self
as borrowed slice.source§fn take_price_currency(&mut self) -> Vec<PriceCurrencyProperty>
fn take_price_currency(&mut self) -> Vec<PriceCurrencyProperty>
Take https://schema.org/priceCurrency from
Self
as owned vector.source§fn get_price_specification(&self) -> &[PriceSpecificationProperty]
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>
fn take_price_specification(&mut self) -> Vec<PriceSpecificationProperty>
Take https://schema.org/priceSpecification from
Self
as owned vector.source§fn get_price_valid_until(&self) -> &[PriceValidUntilProperty]
fn get_price_valid_until(&self) -> &[PriceValidUntilProperty]
Get https://schema.org/priceValidUntil from
Self
as borrowed slice.source§fn take_price_valid_until(&mut self) -> Vec<PriceValidUntilProperty>
fn take_price_valid_until(&mut self) -> Vec<PriceValidUntilProperty>
Take https://schema.org/priceValidUntil from
Self
as owned vector.source§fn get_review(&self) -> &[ReviewProperty]
fn get_review(&self) -> &[ReviewProperty]
Get https://schema.org/review from
Self
as borrowed slice.source§fn take_review(&mut self) -> Vec<ReviewProperty>
fn take_review(&mut self) -> Vec<ReviewProperty>
Take https://schema.org/review from
Self
as owned vector.source§fn get_reviews(&self) -> &[ReviewsProperty]
fn get_reviews(&self) -> &[ReviewsProperty]
👎Deprecated: This schema is superseded by https://schema.org/review.
Get https://schema.org/reviews from
Self
as borrowed slice.source§fn take_reviews(&mut self) -> Vec<ReviewsProperty>
fn take_reviews(&mut self) -> Vec<ReviewsProperty>
👎Deprecated: This schema is superseded by https://schema.org/review.
Take https://schema.org/reviews from
Self
as owned vector.source§fn get_seller(&self) -> &[SellerProperty]
fn get_seller(&self) -> &[SellerProperty]
Get https://schema.org/seller from
Self
as borrowed slice.source§fn take_seller(&mut self) -> Vec<SellerProperty>
fn take_seller(&mut self) -> Vec<SellerProperty>
Take https://schema.org/seller from
Self
as owned vector.source§fn get_serial_number(&self) -> &[SerialNumberProperty]
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>
fn take_serial_number(&mut self) -> Vec<SerialNumberProperty>
Take https://schema.org/serialNumber from
Self
as owned vector.source§fn get_shipping_details(&self) -> &[ShippingDetailsProperty]
fn get_shipping_details(&self) -> &[ShippingDetailsProperty]
Get https://schema.org/shippingDetails from
Self
as borrowed slice.source§fn take_shipping_details(&mut self) -> Vec<ShippingDetailsProperty>
fn take_shipping_details(&mut self) -> Vec<ShippingDetailsProperty>
Take https://schema.org/shippingDetails from
Self
as owned vector.source§fn get_sku(&self) -> &[SkuProperty]
fn get_sku(&self) -> &[SkuProperty]
Get https://schema.org/sku from
Self
as borrowed slice.source§fn take_sku(&mut self) -> Vec<SkuProperty>
fn take_sku(&mut self) -> Vec<SkuProperty>
Take https://schema.org/sku from
Self
as owned vector.source§fn get_valid_from(&self) -> &[ValidFromProperty]
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>
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]
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>
fn take_valid_through(&mut self) -> Vec<ValidThroughProperty>
Take https://schema.org/validThrough from
Self
as owned vector.source§fn get_warranty(&self) -> &[WarrantyProperty]
fn get_warranty(&self) -> &[WarrantyProperty]
Get https://schema.org/warranty from
Self
as borrowed slice.source§fn take_warranty(&mut self) -> Vec<WarrantyProperty>
fn take_warranty(&mut self) -> Vec<WarrantyProperty>
Take https://schema.org/warranty from
Self
as owned vector.source§impl ThingTrait for Offer
impl ThingTrait for Offer
source§fn get_additional_type(&self) -> &[AdditionalTypeProperty]
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>
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]
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>
fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
Take https://schema.org/alternateName from
Self
as owned vector.source§fn get_description(&self) -> &[DescriptionProperty]
fn get_description(&self) -> &[DescriptionProperty]
Get https://schema.org/description from
Self
as borrowed slice.source§fn take_description(&mut self) -> Vec<DescriptionProperty>
fn take_description(&mut self) -> Vec<DescriptionProperty>
Take https://schema.org/description from
Self
as owned vector.source§fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
Get https://schema.org/disambiguatingDescription from
Self
as borrowed slice.source§fn take_disambiguating_description(
&mut self
) -> Vec<DisambiguatingDescriptionProperty>
fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>
Take https://schema.org/disambiguatingDescription from
Self
as owned vector.source§fn get_identifier(&self) -> &[IdentifierProperty]
fn get_identifier(&self) -> &[IdentifierProperty]
Get https://schema.org/identifier from
Self
as borrowed slice.source§fn take_identifier(&mut self) -> Vec<IdentifierProperty>
fn take_identifier(&mut self) -> Vec<IdentifierProperty>
Take https://schema.org/identifier from
Self
as owned vector.source§fn get_image(&self) -> &[ImageProperty]
fn get_image(&self) -> &[ImageProperty]
Get https://schema.org/image from
Self
as borrowed slice.source§fn take_image(&mut self) -> Vec<ImageProperty>
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]
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>
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]
fn get_name(&self) -> &[NameProperty]
Get https://schema.org/name from
Self
as borrowed slice.source§fn take_name(&mut self) -> Vec<NameProperty>
fn take_name(&mut self) -> Vec<NameProperty>
Take https://schema.org/name from
Self
as owned vector.source§fn get_potential_action(&self) -> &[PotentialActionProperty]
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>
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]
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>
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]
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>
fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
Take https://schema.org/subjectOf from
Self
as owned vector.source§fn get_url(&self) -> &[UrlProperty]
fn get_url(&self) -> &[UrlProperty]
Get https://schema.org/url from
Self
as borrowed slice.source§fn take_url(&mut self) -> Vec<UrlProperty>
fn take_url(&mut self) -> Vec<UrlProperty>
Take https://schema.org/url from
Self
as owned vector.Auto Trait Implementations§
impl RefUnwindSafe for Offer
impl Send for Offer
impl Sync for Offer
impl Unpin for Offer
impl UnwindSafe for Offer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more