pub struct Address {
pub name: Option<String>,
pub street: Option<String>,
pub locality: Option<String>,
pub region: Option<String>,
pub country: Option<String>,
pub postal_code: Option<String>,
}
Expand description
A struct representing a postal address.
Fields§
§name: Option<String>
Name of the address.
street: Option<String>
Street address.
locality: Option<String>
Locality of the address.
region: Option<String>
Region of the address.
country: Option<String>
Country of the address.
postal_code: Option<String>
Postal code for region of the address.
Trait Implementations§
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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