[−][src]Struct shopless_types::Order
Fields
id: i64
order_id: String
origin: String
locale: String
custom_status: String
date: String
date_time: DateTime<Utc>
payment_method: String
payment_method_name: String
payment_instructions: Option<String>
invoice_number: Option<String>
invoice_date: Option<NaiveDate>
currency: String
shipping_method: String
shipping_method_name: String
subtotal: String
subtotal_cents: i64
shipping: String
shipping_taxrate: i32
shipping_cents: i64
discount: Option<String>
tax: Option<String>
tax_cents: Option<i64>
total: String
total_cents: i64
email: String
invoice_address: Address
shipping_address: Address
line_items: Vec<LineItem>
shipment: Option<Value>
token: String
coupon: Option<String>
prioritize: bool
note: Option<String>
today: String
Trait Implementations
impl Clone for Order
[src]
impl Debug for Order
[src]
impl<'de> Deserialize<'de> for Order
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Order
[src]
Auto Trait Implementations
impl RefUnwindSafe for Order
[src]
impl Send for Order
[src]
impl Sync for Order
[src]
impl Unpin for Order
[src]
impl UnwindSafe for Order
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,