Struct stripe::Address [−][src]
pub struct Address {
pub city: Option<Box<String>>,
pub country: Option<Box<String>>,
pub line1: Option<Box<String>>,
pub line2: Option<Box<String>>,
pub postal_code: Option<Box<String>>,
pub state: Option<Box<String>>,
}
Expand description
The resource representing a Stripe “Address”.
Fields
city: Option<Box<String>>
City, district, suburb, town, or village.
country: Option<Box<String>>
Two-letter country code (ISO 3166-1 alpha-2).
line1: Option<Box<String>>
Address line 1 (e.g., street, PO Box, or company name).
line2: Option<Box<String>>
Address line 2 (e.g., apartment, suite, unit, or building).
postal_code: Option<Box<String>>
ZIP or postal code.
state: Option<Box<String>>
State, county, province, or region.
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 Address
impl UnwindSafe for Address
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