Struct schema_org_types::Order
source · pub struct Order {Show 34 fields
pub accepted_offer: Vec<AcceptedOfferProperty>,
pub billing_address: Vec<BillingAddressProperty>,
pub broker: Vec<BrokerProperty>,
pub confirmation_number: Vec<ConfirmationNumberProperty>,
pub customer: Vec<CustomerProperty>,
pub discount: Vec<DiscountProperty>,
pub discount_code: Vec<DiscountCodeProperty>,
pub discount_currency: Vec<DiscountCurrencyProperty>,
pub is_gift: Vec<IsGiftProperty>,
pub merchant: Vec<MerchantProperty>,
pub order_date: Vec<OrderDateProperty>,
pub order_delivery: Vec<OrderDeliveryProperty>,
pub order_number: Vec<OrderNumberProperty>,
pub order_status: Vec<OrderStatusProperty>,
pub ordered_item: Vec<OrderedItemProperty>,
pub part_of_invoice: Vec<PartOfInvoiceProperty>,
pub payment_due: Vec<PaymentDueProperty>,
pub payment_due_date: Vec<PaymentDueDateProperty>,
pub payment_method: Vec<PaymentMethodProperty>,
pub payment_method_id: Vec<PaymentMethodIdProperty>,
pub payment_url: Vec<PaymentUrlProperty>,
pub seller: Vec<SellerProperty>,
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_offer: Vec<AcceptedOfferProperty>
§billing_address: Vec<BillingAddressProperty>
§broker: Vec<BrokerProperty>
§confirmation_number: Vec<ConfirmationNumberProperty>
§customer: Vec<CustomerProperty>
§discount: Vec<DiscountProperty>
§discount_code: Vec<DiscountCodeProperty>
§discount_currency: Vec<DiscountCurrencyProperty>
§is_gift: Vec<IsGiftProperty>
§merchant: Vec<MerchantProperty>
👎Deprecated: This schema is superseded by https://schema.org/seller.
§order_date: Vec<OrderDateProperty>
§order_delivery: Vec<OrderDeliveryProperty>
§order_number: Vec<OrderNumberProperty>
§order_status: Vec<OrderStatusProperty>
§ordered_item: Vec<OrderedItemProperty>
§part_of_invoice: Vec<PartOfInvoiceProperty>
§payment_due: Vec<PaymentDueProperty>
👎Deprecated: This schema is superseded by https://schema.org/paymentDueDate.
§payment_due_date: Vec<PaymentDueDateProperty>
§payment_method: Vec<PaymentMethodProperty>
§payment_method_id: Vec<PaymentMethodIdProperty>
§payment_url: Vec<PaymentUrlProperty>
§seller: Vec<SellerProperty>
§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 OrderTrait for Order
impl OrderTrait for Order
source§fn get_accepted_offer(&self) -> &[AcceptedOfferProperty]
fn get_accepted_offer(&self) -> &[AcceptedOfferProperty]
Get https://schema.org/acceptedOffer from
Self
as borrowed slice.source§fn take_accepted_offer(&mut self) -> Vec<AcceptedOfferProperty>
fn take_accepted_offer(&mut self) -> Vec<AcceptedOfferProperty>
Take https://schema.org/acceptedOffer from
Self
as owned vector.source§fn get_billing_address(&self) -> &[BillingAddressProperty]
fn get_billing_address(&self) -> &[BillingAddressProperty]
Get https://schema.org/billingAddress from
Self
as borrowed slice.source§fn take_billing_address(&mut self) -> Vec<BillingAddressProperty>
fn take_billing_address(&mut self) -> Vec<BillingAddressProperty>
Take https://schema.org/billingAddress from
Self
as owned vector.source§fn get_broker(&self) -> &[BrokerProperty]
fn get_broker(&self) -> &[BrokerProperty]
Get https://schema.org/broker from
Self
as borrowed slice.source§fn take_broker(&mut self) -> Vec<BrokerProperty>
fn take_broker(&mut self) -> Vec<BrokerProperty>
Take https://schema.org/broker from
Self
as owned vector.source§fn get_confirmation_number(&self) -> &[ConfirmationNumberProperty]
fn get_confirmation_number(&self) -> &[ConfirmationNumberProperty]
Get https://schema.org/confirmationNumber from
Self
as borrowed slice.source§fn take_confirmation_number(&mut self) -> Vec<ConfirmationNumberProperty>
fn take_confirmation_number(&mut self) -> Vec<ConfirmationNumberProperty>
Take https://schema.org/confirmationNumber from
Self
as owned vector.source§fn get_customer(&self) -> &[CustomerProperty]
fn get_customer(&self) -> &[CustomerProperty]
Get https://schema.org/customer from
Self
as borrowed slice.source§fn take_customer(&mut self) -> Vec<CustomerProperty>
fn take_customer(&mut self) -> Vec<CustomerProperty>
Take https://schema.org/customer from
Self
as owned vector.source§fn get_discount(&self) -> &[DiscountProperty]
fn get_discount(&self) -> &[DiscountProperty]
Get https://schema.org/discount from
Self
as borrowed slice.source§fn take_discount(&mut self) -> Vec<DiscountProperty>
fn take_discount(&mut self) -> Vec<DiscountProperty>
Take https://schema.org/discount from
Self
as owned vector.source§fn get_discount_code(&self) -> &[DiscountCodeProperty]
fn get_discount_code(&self) -> &[DiscountCodeProperty]
Get https://schema.org/discountCode from
Self
as borrowed slice.source§fn take_discount_code(&mut self) -> Vec<DiscountCodeProperty>
fn take_discount_code(&mut self) -> Vec<DiscountCodeProperty>
Take https://schema.org/discountCode from
Self
as owned vector.source§fn get_discount_currency(&self) -> &[DiscountCurrencyProperty]
fn get_discount_currency(&self) -> &[DiscountCurrencyProperty]
Get https://schema.org/discountCurrency from
Self
as borrowed slice.source§fn take_discount_currency(&mut self) -> Vec<DiscountCurrencyProperty>
fn take_discount_currency(&mut self) -> Vec<DiscountCurrencyProperty>
Take https://schema.org/discountCurrency from
Self
as owned vector.source§fn get_is_gift(&self) -> &[IsGiftProperty]
fn get_is_gift(&self) -> &[IsGiftProperty]
Get https://schema.org/isGift from
Self
as borrowed slice.source§fn take_is_gift(&mut self) -> Vec<IsGiftProperty>
fn take_is_gift(&mut self) -> Vec<IsGiftProperty>
Take https://schema.org/isGift from
Self
as owned vector.source§fn get_merchant(&self) -> &[MerchantProperty]
fn get_merchant(&self) -> &[MerchantProperty]
👎Deprecated: This schema is superseded by https://schema.org/seller.
Get https://schema.org/merchant from
Self
as borrowed slice.source§fn take_merchant(&mut self) -> Vec<MerchantProperty>
fn take_merchant(&mut self) -> Vec<MerchantProperty>
👎Deprecated: This schema is superseded by https://schema.org/seller.
Take https://schema.org/merchant from
Self
as owned vector.source§fn get_order_date(&self) -> &[OrderDateProperty]
fn get_order_date(&self) -> &[OrderDateProperty]
Get https://schema.org/orderDate from
Self
as borrowed slice.source§fn take_order_date(&mut self) -> Vec<OrderDateProperty>
fn take_order_date(&mut self) -> Vec<OrderDateProperty>
Take https://schema.org/orderDate from
Self
as owned vector.source§fn get_order_delivery(&self) -> &[OrderDeliveryProperty]
fn get_order_delivery(&self) -> &[OrderDeliveryProperty]
Get https://schema.org/orderDelivery from
Self
as borrowed slice.source§fn take_order_delivery(&mut self) -> Vec<OrderDeliveryProperty>
fn take_order_delivery(&mut self) -> Vec<OrderDeliveryProperty>
Take https://schema.org/orderDelivery from
Self
as owned vector.source§fn get_order_number(&self) -> &[OrderNumberProperty]
fn get_order_number(&self) -> &[OrderNumberProperty]
Get https://schema.org/orderNumber from
Self
as borrowed slice.source§fn take_order_number(&mut self) -> Vec<OrderNumberProperty>
fn take_order_number(&mut self) -> Vec<OrderNumberProperty>
Take https://schema.org/orderNumber from
Self
as owned vector.source§fn get_order_status(&self) -> &[OrderStatusProperty]
fn get_order_status(&self) -> &[OrderStatusProperty]
Get https://schema.org/orderStatus from
Self
as borrowed slice.source§fn take_order_status(&mut self) -> Vec<OrderStatusProperty>
fn take_order_status(&mut self) -> Vec<OrderStatusProperty>
Take https://schema.org/orderStatus from
Self
as owned vector.source§fn get_ordered_item(&self) -> &[OrderedItemProperty]
fn get_ordered_item(&self) -> &[OrderedItemProperty]
Get https://schema.org/orderedItem from
Self
as borrowed slice.source§fn take_ordered_item(&mut self) -> Vec<OrderedItemProperty>
fn take_ordered_item(&mut self) -> Vec<OrderedItemProperty>
Take https://schema.org/orderedItem from
Self
as owned vector.source§fn get_part_of_invoice(&self) -> &[PartOfInvoiceProperty]
fn get_part_of_invoice(&self) -> &[PartOfInvoiceProperty]
Get https://schema.org/partOfInvoice from
Self
as borrowed slice.source§fn take_part_of_invoice(&mut self) -> Vec<PartOfInvoiceProperty>
fn take_part_of_invoice(&mut self) -> Vec<PartOfInvoiceProperty>
Take https://schema.org/partOfInvoice from
Self
as owned vector.source§fn get_payment_due(&self) -> &[PaymentDueProperty]
fn get_payment_due(&self) -> &[PaymentDueProperty]
👎Deprecated: This schema is superseded by https://schema.org/paymentDueDate.
Get https://schema.org/paymentDue from
Self
as borrowed slice.source§fn take_payment_due(&mut self) -> Vec<PaymentDueProperty>
fn take_payment_due(&mut self) -> Vec<PaymentDueProperty>
👎Deprecated: This schema is superseded by https://schema.org/paymentDueDate.
Take https://schema.org/paymentDue from
Self
as owned vector.source§fn get_payment_due_date(&self) -> &[PaymentDueDateProperty]
fn get_payment_due_date(&self) -> &[PaymentDueDateProperty]
Get https://schema.org/paymentDueDate from
Self
as borrowed slice.source§fn take_payment_due_date(&mut self) -> Vec<PaymentDueDateProperty>
fn take_payment_due_date(&mut self) -> Vec<PaymentDueDateProperty>
Take https://schema.org/paymentDueDate from
Self
as owned vector.source§fn get_payment_method(&self) -> &[PaymentMethodProperty]
fn get_payment_method(&self) -> &[PaymentMethodProperty]
Get https://schema.org/paymentMethod from
Self
as borrowed slice.source§fn take_payment_method(&mut self) -> Vec<PaymentMethodProperty>
fn take_payment_method(&mut self) -> Vec<PaymentMethodProperty>
Take https://schema.org/paymentMethod from
Self
as owned vector.source§fn get_payment_method_id(&self) -> &[PaymentMethodIdProperty]
fn get_payment_method_id(&self) -> &[PaymentMethodIdProperty]
Get https://schema.org/paymentMethodId from
Self
as borrowed slice.source§fn take_payment_method_id(&mut self) -> Vec<PaymentMethodIdProperty>
fn take_payment_method_id(&mut self) -> Vec<PaymentMethodIdProperty>
Take https://schema.org/paymentMethodId from
Self
as owned vector.source§fn get_payment_url(&self) -> &[PaymentUrlProperty]
fn get_payment_url(&self) -> &[PaymentUrlProperty]
Get https://schema.org/paymentUrl from
Self
as borrowed slice.source§fn take_payment_url(&mut self) -> Vec<PaymentUrlProperty>
fn take_payment_url(&mut self) -> Vec<PaymentUrlProperty>
Take https://schema.org/paymentUrl 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§impl ThingTrait for Order
impl ThingTrait for Order
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 Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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