pub struct Order {
pub id: String,
pub object: String,
pub amount: u64,
pub amount_returned: u64,
pub application: String,
pub application_fee: u64,
pub charge: Option<String>,
pub created: Timestamp,
pub currency: Currency,
pub customer: String,
pub email: String,
pub external_coupon_code: String,
pub items: List<OrderItem>,
pub livemode: bool,
pub metadata: Metadata,
pub returns: List<Value>,
pub selected_shipping_method: Option<String>,
pub shipping: Option<ShippingDetails>,
pub shipping_methods: List<Value>,
pub status: String,
pub status_transitions: StatusTransitions,
pub udpated: Timestamp,
pub upstream_id: Option<String>,
}
The resource representing a Stripe order.
For more details see https://stripe.com/docs/api#order_object.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
Deserialize this value from the given Serde deserializer. Read more
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
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static