pub struct AddressSchema {
pub street_address_line1: String,
pub street_address_line2: Option<String>,
pub city: String,
pub state: String,
pub zip_code: String,
pub zip_code_plus_four: Option<String>,
pub county_name: Option<String>,
}
Fields§
§street_address_line1: String
§street_address_line2: Option<String>
§city: String
§state: String
Two-character US state code
zip_code: String
Five-digit US zip code
zip_code_plus_four: Option<String>
Four-digit additional US zip code numbers
county_name: Option<String>
County name
Trait Implementations§
Source§impl Debug for AddressSchema
impl Debug for AddressSchema
Source§impl<'de> Deserialize<'de> for AddressSchema
impl<'de> Deserialize<'de> for AddressSchema
Source§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
Source§impl Display for AddressSchema
impl Display for AddressSchema
Auto Trait Implementations§
impl Freeze for AddressSchema
impl RefUnwindSafe for AddressSchema
impl Send for AddressSchema
impl Sync for AddressSchema
impl Unpin for AddressSchema
impl UnwindSafe for AddressSchema
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more