pub struct Order {Show 17 fields
pub id: u128,
pub email: Option<String>,
pub phone: Option<String>,
pub line_items: Vec<LineItem>,
pub fulfillment_status: Option<String>,
pub fulfillments: Vec<Fulfillment>,
pub payment_gateway_names: Vec<String>,
pub subtotal_price_set: PriceSet,
pub total_discounts_set: PriceSet,
pub total_price_set: PriceSet,
pub total_shipping_price_set: PriceSet,
pub total_tax_set: PriceSet,
pub order_status_url: Option<String>,
pub financial_status: Option<String>,
pub name: String,
pub customer: Customer,
pub created_at: String,
}Fields§
§id: u128§email: Option<String>§phone: Option<String>§line_items: Vec<LineItem>§fulfillment_status: Option<String>§fulfillments: Vec<Fulfillment>§payment_gateway_names: Vec<String>§subtotal_price_set: PriceSet§total_discounts_set: PriceSet§total_price_set: PriceSet§total_shipping_price_set: PriceSet§total_tax_set: PriceSet§order_status_url: Option<String>§financial_status: Option<String>§name: String§customer: Customer§created_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Order
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