pub struct AddressApiSchema {
    pub postal_code: Option<String>,
    pub address_line2: Option<String>,
    pub state: Option<String>,
    pub first_name: Option<String>,
    pub city: String,
    pub address_line1: String,
    pub country_code: CountryCodeEnum,
    pub last_name: Option<String>,
}

Fields

postal_code: Option<String>

Postal or ZIP code

address_line2: Option<String>

Apartment, Unit or Building number

state: Option<String>

State, County or Province

first_name: Option<String>city: String

Name of the city, district, town or village

address_line1: String

Street name, Company name or PO Box

country_code: CountryCodeEnum

Two letter ISO country code

last_name: Option<String>

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Formats the value using the given formatter. 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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. 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.
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