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

source§

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>

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

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>

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

fn get_broker(&self) -> &[BrokerProperty]

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

fn take_broker(&mut self) -> Vec<BrokerProperty>

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

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>

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

fn get_customer(&self) -> &[CustomerProperty]

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

fn take_customer(&mut self) -> Vec<CustomerProperty>

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

fn get_discount(&self) -> &[DiscountProperty]

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

fn take_discount(&mut self) -> Vec<DiscountProperty>

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

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>

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

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>

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

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>

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

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>

👎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]

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

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]

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

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]

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

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]

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

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]

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

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]

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

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]

👎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>

👎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]

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

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]

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

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]

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

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]

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

fn take_payment_url(&mut self) -> Vec<PaymentUrlProperty>

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

impl ThingTrait for Order

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§

§

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> 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.