Struct stripe::Shipping [−][src]
pub struct Shipping {
pub address: Option<Box<Address>>,
pub carrier: Option<Box<String>>,
pub name: Option<Box<String>>,
pub phone: Option<Box<String>>,
pub tracking_number: Option<Box<String>>,
}
Expand description
The resource representing a Stripe “Shipping”.
Fields
address: Option<Box<Address>>
carrier: Option<Box<String>>
The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
name: Option<Box<String>>
Recipient name.
phone: Option<Box<String>>
Recipient phone (including extension).
tracking_number: Option<Box<String>>
The tracking number for a physical product, obtained from the delivery service.
If multiple tracking numbers were generated for this purchase, please separate them with commas.
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 Shipping
impl UnwindSafe for Shipping
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more