pub struct AddressExtendedFields {
pub street_name: Option<String>,
pub street_number: Option<String>,
pub complement: Option<String>,
pub neighborhood: Option<String>,
}Expand description
AddressExtendedFields : The container for address extended fields (such as street name and street number). Currently only available with Brazil shipping addresses.
Fields§
§street_name: Option<String>The street name.
street_number: Option<String>The house, building, or property number associated with the location’s street address.
complement: Option<String>The floor number/unit number in the building/private house number.
neighborhood: Option<String>The neighborhood. This value is only used in some countries (such as Brazil).
Implementations§
Source§impl AddressExtendedFields
impl AddressExtendedFields
Sourcepub fn new() -> AddressExtendedFields
pub fn new() -> AddressExtendedFields
The container for address extended fields (such as street name and street number). Currently only available with Brazil shipping addresses.
Trait Implementations§
Source§impl Clone for AddressExtendedFields
impl Clone for AddressExtendedFields
Source§fn clone(&self) -> AddressExtendedFields
fn clone(&self) -> AddressExtendedFields
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddressExtendedFields
impl Debug for AddressExtendedFields
Source§impl Default for AddressExtendedFields
impl Default for AddressExtendedFields
Source§fn default() -> AddressExtendedFields
fn default() -> AddressExtendedFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddressExtendedFields
impl<'de> Deserialize<'de> for AddressExtendedFields
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 PartialEq for AddressExtendedFields
impl PartialEq for AddressExtendedFields
Source§impl Serialize for AddressExtendedFields
impl Serialize for AddressExtendedFields
impl StructuralPartialEq for AddressExtendedFields
Auto Trait Implementations§
impl Freeze for AddressExtendedFields
impl RefUnwindSafe for AddressExtendedFields
impl Send for AddressExtendedFields
impl Sync for AddressExtendedFields
impl Unpin for AddressExtendedFields
impl UnwindSafe for AddressExtendedFields
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