pub struct AccountFeatures {
pub debit_card: bool,
pub online_banking: bool,
pub mobile_banking: bool,
pub international_transfers: bool,
pub wire_transfers: bool,
pub ach_transfers: bool,
pub check_writing: bool,
pub overdraft_protection: bool,
pub atm_access: bool,
pub cash_deposits: bool,
pub daily_withdrawal_limit: Option<u64>,
pub daily_transfer_limit: Option<u64>,
}Expand description
Product features associated with an account.
Fields§
§debit_card: boolDebit card enabled
online_banking: boolOnline banking enabled
mobile_banking: boolMobile banking enabled
international_transfers: boolInternational transfers enabled
wire_transfers: boolWire transfers enabled
ach_transfers: boolACH transfers enabled
check_writing: boolCheck writing enabled
overdraft_protection: boolOverdraft protection enabled
atm_access: boolATM access enabled
cash_deposits: boolCash deposits allowed
daily_withdrawal_limit: Option<u64>Daily withdrawal limit
daily_transfer_limit: Option<u64>Daily transfer limit
Implementations§
Source§impl AccountFeatures
impl AccountFeatures
Sourcepub fn retail_standard() -> Self
pub fn retail_standard() -> Self
Standard retail account features.
Premium retail account features.
Sourcepub fn business_standard() -> Self
pub fn business_standard() -> Self
Standard business account features.
Trait Implementations§
Source§impl Clone for AccountFeatures
impl Clone for AccountFeatures
Source§fn clone(&self) -> AccountFeatures
fn clone(&self) -> AccountFeatures
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 AccountFeatures
impl Debug for AccountFeatures
Source§impl Default for AccountFeatures
impl Default for AccountFeatures
Source§fn default() -> AccountFeatures
fn default() -> AccountFeatures
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountFeatures
impl<'de> Deserialize<'de> for AccountFeatures
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
Auto Trait Implementations§
impl Freeze for AccountFeatures
impl RefUnwindSafe for AccountFeatures
impl Send for AccountFeatures
impl Sync for AccountFeatures
impl Unpin for AccountFeatures
impl UnwindSafe for AccountFeatures
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