pub struct Addr {
pub city: Option<String>,
pub country: Option<String>,
pub country_sub_division_code: Option<String>,
pub id: Option<String>,
pub line1: Option<String>,
pub postal_code: Option<String>,
}Expand description
Address information
Fields§
§city: Option<String>§country: Option<String>§country_sub_division_code: Option<String>§id: Option<String>§line1: Option<String>§postal_code: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Addr
impl<'de> Deserialize<'de> for Addr
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
impl StructuralPartialEq for Addr
Auto Trait Implementations§
impl Freeze for Addr
impl RefUnwindSafe for Addr
impl Send for Addr
impl Sync for Addr
impl Unpin for Addr
impl UnwindSafe for Addr
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