pub struct AccountHolderDetails {
pub name: String,
pub city: Option<String>,
pub country: Option<String>,
pub subdivision: Option<String>,
pub address: Option<String>,
pub postal_code: Option<String>,
}Fields§
§name: StringFull name of the account holder.
city: Option<String>§country: Option<String>Country code, as specified in ISO 3166-1 alpha-2.
subdivision: Option<String>Country administrative subdivision, as specified in ISO 3166-2.
address: Option<String>Account holder street address.
postal_code: Option<String>Implementations§
Source§impl AccountHolderDetails
impl AccountHolderDetails
pub fn new(name: String) -> AccountHolderDetails
Trait Implementations§
Source§impl Clone for AccountHolderDetails
impl Clone for AccountHolderDetails
Source§fn clone(&self) -> AccountHolderDetails
fn clone(&self) -> AccountHolderDetails
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 AccountHolderDetails
impl Debug for AccountHolderDetails
Source§impl Default for AccountHolderDetails
impl Default for AccountHolderDetails
Source§fn default() -> AccountHolderDetails
fn default() -> AccountHolderDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountHolderDetails
impl<'de> Deserialize<'de> for AccountHolderDetails
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 AccountHolderDetails
impl PartialEq for AccountHolderDetails
Source§impl Serialize for AccountHolderDetails
impl Serialize for AccountHolderDetails
impl StructuralPartialEq for AccountHolderDetails
Auto Trait Implementations§
impl Freeze for AccountHolderDetails
impl RefUnwindSafe for AccountHolderDetails
impl Send for AccountHolderDetails
impl Sync for AccountHolderDetails
impl Unpin for AccountHolderDetails
impl UnwindSafe for AccountHolderDetails
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