Struct primer_api::model::AddressApiSchema
source · [−]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: StringName of the city, district, town or village
address_line1: StringStreet name, Company name or PO Box
country_code: CountryCodeEnumTwo letter ISO country code
last_name: Option<String>Trait Implementations
sourceimpl Debug for AddressApiSchema
impl Debug for AddressApiSchema
sourceimpl<'de> Deserialize<'de> for AddressApiSchema
impl<'de> Deserialize<'de> for AddressApiSchema
sourcefn 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
sourceimpl Display for AddressApiSchema
impl Display for AddressApiSchema
sourceimpl Serialize for AddressApiSchema
impl Serialize for AddressApiSchema
Auto Trait Implementations
impl RefUnwindSafe for AddressApiSchema
impl Send for AddressApiSchema
impl Sync for AddressApiSchema
impl Unpin for AddressApiSchema
impl UnwindSafe for AddressApiSchema
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more