pub struct Order {Show 20 fields
pub object_id: String,
pub object_owner: String,
pub order_number: String,
pub placed_at: DateTime<Utc>,
pub order_status: String,
pub to_address: Address,
pub from_address: Address,
pub shop_app: String,
pub weight: String,
pub weight_unit: String,
pub transactions: Vec<Transaction>,
pub total_tax: String,
pub total_price: String,
pub subtotal_price: String,
pub currency: String,
pub shipping_method: String,
pub shipping_cost: String,
pub shipping_cost_currency: String,
pub notes: String,
pub test: bool,
}Expand description
An order object. FROM: https://goshippo.com/docs/reference#orders
Fields§
§object_id: StringUnique identifier of the given object.
object_owner: StringUsername of the user who created the object.
order_number: String§placed_at: DateTime<Utc>§order_status: String§to_address: Address§from_address: Address§shop_app: String§weight: String§weight_unit: String§transactions: Vec<Transaction>§total_tax: String§total_price: String§subtotal_price: String§currency: String§shipping_method: String§shipping_cost: String§shipping_cost_currency: String§notes: String§test: boolTrait 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