Struct telbot_types::payment::ShippingAddress[][src]

pub struct ShippingAddress {
    pub country_code: String,
    pub state: String,
    pub city: String,
    pub street_line1: String,
    pub street_line2: String,
    pub post_code: String,
}
Expand description

This object represents a shipping address.

Fields

country_code: String

ISO 3166-1 alpha-2 country code

state: String

State, if applicable

city: String

City

street_line1: String

First line for the address

street_line2: String

Second line for the address

post_code: String

Address post code

Trait Implementations

Deserialize this value from the given Serde deserializer. 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.

Performs the conversion.

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.