Struct shippo::Order [−][src]
pub struct Order {}Show 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: String
Unique identifier of the given object.
object_owner: String
Username 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: bool
Trait Implementations
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 RefUnwindSafe for Order
impl UnwindSafe for Order
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more