Trait schema_org_types::OrderTrait
source · pub trait OrderTrait {
Show 44 methods
// Required methods
fn get_accepted_offer(&self) -> &[AcceptedOfferProperty];
fn take_accepted_offer(&mut self) -> Vec<AcceptedOfferProperty>;
fn get_billing_address(&self) -> &[BillingAddressProperty];
fn take_billing_address(&mut self) -> Vec<BillingAddressProperty>;
fn get_broker(&self) -> &[BrokerProperty];
fn take_broker(&mut self) -> Vec<BrokerProperty>;
fn get_confirmation_number(&self) -> &[ConfirmationNumberProperty];
fn take_confirmation_number(&mut self) -> Vec<ConfirmationNumberProperty>;
fn get_customer(&self) -> &[CustomerProperty];
fn take_customer(&mut self) -> Vec<CustomerProperty>;
fn get_discount(&self) -> &[DiscountProperty];
fn take_discount(&mut self) -> Vec<DiscountProperty>;
fn get_discount_code(&self) -> &[DiscountCodeProperty];
fn take_discount_code(&mut self) -> Vec<DiscountCodeProperty>;
fn get_discount_currency(&self) -> &[DiscountCurrencyProperty];
fn take_discount_currency(&mut self) -> Vec<DiscountCurrencyProperty>;
fn get_is_gift(&self) -> &[IsGiftProperty];
fn take_is_gift(&mut self) -> Vec<IsGiftProperty>;
fn get_merchant(&self) -> &[MerchantProperty];
fn take_merchant(&mut self) -> Vec<MerchantProperty>;
fn get_order_date(&self) -> &[OrderDateProperty];
fn take_order_date(&mut self) -> Vec<OrderDateProperty>;
fn get_order_delivery(&self) -> &[OrderDeliveryProperty];
fn take_order_delivery(&mut self) -> Vec<OrderDeliveryProperty>;
fn get_order_number(&self) -> &[OrderNumberProperty];
fn take_order_number(&mut self) -> Vec<OrderNumberProperty>;
fn get_order_status(&self) -> &[OrderStatusProperty];
fn take_order_status(&mut self) -> Vec<OrderStatusProperty>;
fn get_ordered_item(&self) -> &[OrderedItemProperty];
fn take_ordered_item(&mut self) -> Vec<OrderedItemProperty>;
fn get_part_of_invoice(&self) -> &[PartOfInvoiceProperty];
fn take_part_of_invoice(&mut self) -> Vec<PartOfInvoiceProperty>;
fn get_payment_due(&self) -> &[PaymentDueProperty];
fn take_payment_due(&mut self) -> Vec<PaymentDueProperty>;
fn get_payment_due_date(&self) -> &[PaymentDueDateProperty];
fn take_payment_due_date(&mut self) -> Vec<PaymentDueDateProperty>;
fn get_payment_method(&self) -> &[PaymentMethodProperty];
fn take_payment_method(&mut self) -> Vec<PaymentMethodProperty>;
fn get_payment_method_id(&self) -> &[PaymentMethodIdProperty];
fn take_payment_method_id(&mut self) -> Vec<PaymentMethodIdProperty>;
fn get_payment_url(&self) -> &[PaymentUrlProperty];
fn take_payment_url(&mut self) -> Vec<PaymentUrlProperty>;
fn get_seller(&self) -> &[SellerProperty];
fn take_seller(&mut self) -> Vec<SellerProperty>;
}
Expand description
This trait is for properties from https://schema.org/Order.
Required Methods§
sourcefn get_accepted_offer(&self) -> &[AcceptedOfferProperty]
fn get_accepted_offer(&self) -> &[AcceptedOfferProperty]
Get https://schema.org/acceptedOffer from Self
as borrowed slice.
sourcefn 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.
sourcefn get_billing_address(&self) -> &[BillingAddressProperty]
fn get_billing_address(&self) -> &[BillingAddressProperty]
Get https://schema.org/billingAddress from Self
as borrowed slice.
sourcefn 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.
sourcefn get_broker(&self) -> &[BrokerProperty]
fn get_broker(&self) -> &[BrokerProperty]
Get https://schema.org/broker from Self
as borrowed slice.
sourcefn take_broker(&mut self) -> Vec<BrokerProperty>
fn take_broker(&mut self) -> Vec<BrokerProperty>
Take https://schema.org/broker from Self
as owned vector.
sourcefn get_confirmation_number(&self) -> &[ConfirmationNumberProperty]
fn get_confirmation_number(&self) -> &[ConfirmationNumberProperty]
Get https://schema.org/confirmationNumber from Self
as borrowed slice.
sourcefn 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.
sourcefn get_customer(&self) -> &[CustomerProperty]
fn get_customer(&self) -> &[CustomerProperty]
Get https://schema.org/customer from Self
as borrowed slice.
sourcefn take_customer(&mut self) -> Vec<CustomerProperty>
fn take_customer(&mut self) -> Vec<CustomerProperty>
Take https://schema.org/customer from Self
as owned vector.
sourcefn get_discount(&self) -> &[DiscountProperty]
fn get_discount(&self) -> &[DiscountProperty]
Get https://schema.org/discount from Self
as borrowed slice.
sourcefn take_discount(&mut self) -> Vec<DiscountProperty>
fn take_discount(&mut self) -> Vec<DiscountProperty>
Take https://schema.org/discount from Self
as owned vector.
sourcefn get_discount_code(&self) -> &[DiscountCodeProperty]
fn get_discount_code(&self) -> &[DiscountCodeProperty]
Get https://schema.org/discountCode from Self
as borrowed slice.
sourcefn 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.
sourcefn get_discount_currency(&self) -> &[DiscountCurrencyProperty]
fn get_discount_currency(&self) -> &[DiscountCurrencyProperty]
Get https://schema.org/discountCurrency from Self
as borrowed slice.
sourcefn 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.
sourcefn get_is_gift(&self) -> &[IsGiftProperty]
fn get_is_gift(&self) -> &[IsGiftProperty]
Get https://schema.org/isGift from Self
as borrowed slice.
sourcefn 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.
sourcefn get_merchant(&self) -> &[MerchantProperty]
fn get_merchant(&self) -> &[MerchantProperty]
Get https://schema.org/merchant from Self
as borrowed slice.
sourcefn take_merchant(&mut self) -> Vec<MerchantProperty>
fn take_merchant(&mut self) -> Vec<MerchantProperty>
Take https://schema.org/merchant from Self
as owned vector.
sourcefn get_order_date(&self) -> &[OrderDateProperty]
fn get_order_date(&self) -> &[OrderDateProperty]
Get https://schema.org/orderDate from Self
as borrowed slice.
sourcefn 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.
sourcefn get_order_delivery(&self) -> &[OrderDeliveryProperty]
fn get_order_delivery(&self) -> &[OrderDeliveryProperty]
Get https://schema.org/orderDelivery from Self
as borrowed slice.
sourcefn 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.
sourcefn get_order_number(&self) -> &[OrderNumberProperty]
fn get_order_number(&self) -> &[OrderNumberProperty]
Get https://schema.org/orderNumber from Self
as borrowed slice.
sourcefn 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.
sourcefn get_order_status(&self) -> &[OrderStatusProperty]
fn get_order_status(&self) -> &[OrderStatusProperty]
Get https://schema.org/orderStatus from Self
as borrowed slice.
sourcefn 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.
sourcefn get_ordered_item(&self) -> &[OrderedItemProperty]
fn get_ordered_item(&self) -> &[OrderedItemProperty]
Get https://schema.org/orderedItem from Self
as borrowed slice.
sourcefn 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.
sourcefn get_part_of_invoice(&self) -> &[PartOfInvoiceProperty]
fn get_part_of_invoice(&self) -> &[PartOfInvoiceProperty]
Get https://schema.org/partOfInvoice from Self
as borrowed slice.
sourcefn 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.
sourcefn get_payment_due(&self) -> &[PaymentDueProperty]
fn get_payment_due(&self) -> &[PaymentDueProperty]
Get https://schema.org/paymentDue from Self
as borrowed slice.
sourcefn take_payment_due(&mut self) -> Vec<PaymentDueProperty>
fn take_payment_due(&mut self) -> Vec<PaymentDueProperty>
Take https://schema.org/paymentDue from Self
as owned vector.
sourcefn get_payment_due_date(&self) -> &[PaymentDueDateProperty]
fn get_payment_due_date(&self) -> &[PaymentDueDateProperty]
Get https://schema.org/paymentDueDate from Self
as borrowed slice.
sourcefn 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.
sourcefn get_payment_method(&self) -> &[PaymentMethodProperty]
fn get_payment_method(&self) -> &[PaymentMethodProperty]
Get https://schema.org/paymentMethod from Self
as borrowed slice.
sourcefn 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.
sourcefn get_payment_method_id(&self) -> &[PaymentMethodIdProperty]
fn get_payment_method_id(&self) -> &[PaymentMethodIdProperty]
Get https://schema.org/paymentMethodId from Self
as borrowed slice.
sourcefn 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.
sourcefn get_payment_url(&self) -> &[PaymentUrlProperty]
fn get_payment_url(&self) -> &[PaymentUrlProperty]
Get https://schema.org/paymentUrl from Self
as borrowed slice.
sourcefn 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.
sourcefn get_seller(&self) -> &[SellerProperty]
fn get_seller(&self) -> &[SellerProperty]
Get https://schema.org/seller from Self
as borrowed slice.
sourcefn take_seller(&mut self) -> Vec<SellerProperty>
fn take_seller(&mut self) -> Vec<SellerProperty>
Take https://schema.org/seller from Self
as owned vector.