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: Stringplaced_at: DateTime<Utc>order_status: Stringto_address: Addressfrom_address: Addressshop_app: Stringweight: Stringweight_unit: Stringtransactions: Vec<Transaction>total_tax: Stringtotal_price: Stringsubtotal_price: Stringcurrency: Stringshipping_method: Stringshipping_cost: Stringshipping_cost_currency: Stringnotes: Stringtest: bool

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.