pub struct AccountAddress {
pub country: Option<String>,
pub locality: Option<String>,
pub postal_code: Option<String>,
pub region: Option<String>,
pub street_address: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§country: Option<String>CLDR country code (e.g. “US”). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.
locality: Option<String>City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
postal_code: Option<String>Postal code or ZIP (e.g. “94043”).
region: Option<String>Top-level administrative subdivision of the country. For example, a state like California (“CA”) or a province like Quebec (“QC”).
street_address: Option<String>Street-level part of the address.
Trait Implementations§
Source§impl Clone for AccountAddress
impl Clone for AccountAddress
Source§fn clone(&self) -> AccountAddress
fn clone(&self) -> AccountAddress
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 AccountAddress
impl Debug for AccountAddress
Source§impl Default for AccountAddress
impl Default for AccountAddress
Source§fn default() -> AccountAddress
fn default() -> AccountAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountAddress
impl<'de> Deserialize<'de> for AccountAddress
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 Serialize for AccountAddress
impl Serialize for AccountAddress
impl Part for AccountAddress
Auto Trait Implementations§
impl Freeze for AccountAddress
impl RefUnwindSafe for AccountAddress
impl Send for AccountAddress
impl Sync for AccountAddress
impl Unpin for AccountAddress
impl UnwindSafe for AccountAddress
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