#[non_exhaustive]pub struct SubAccountEntry {Show 13 fields
pub sub_acct: String,
pub label: String,
pub uid: String,
pub ts: NumberString,
pub enable: bool,
pub can_trans_out: bool,
pub g_auth: bool,
pub mobile: String,
pub sub_type: String,
pub sub_acct_lv: String,
pub first_lv_sub_acct: String,
pub if_dma: bool,
pub frozen_func: Vec<String>,
}Expand description
A sub-account entry (list, create, entrust-list, set-transfer-out).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sub_acct: StringSub-account name.
label: StringSub-account label.
uid: StringUID of the sub-account.
ts: NumberStringCreation timestamp (Unix milliseconds).
enable: boolWhether the sub-account is enabled.
can_trans_out: boolWhether transfers out are permitted.
g_auth: boolWhether Google Authenticator is enabled.
mobile: StringMobile number bound to the sub-account.
sub_type: StringSub-account type ("1" = standard).
sub_acct_lv: StringSub-account level.
first_lv_sub_acct: StringFirst-level sub-account name.
if_dma: boolWhether DMA is enabled.
frozen_func: Vec<String>List of frozen functions.
Trait Implementations§
Source§impl Clone for SubAccountEntry
impl Clone for SubAccountEntry
Source§fn clone(&self) -> SubAccountEntry
fn clone(&self) -> SubAccountEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubAccountEntry
impl Debug for SubAccountEntry
Source§impl<'de> Deserialize<'de> for SubAccountEntry
impl<'de> Deserialize<'de> for SubAccountEntry
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 SubAccountEntry
impl RefUnwindSafe for SubAccountEntry
impl Send for SubAccountEntry
impl Sync for SubAccountEntry
impl Unpin for SubAccountEntry
impl UnsafeUnpin for SubAccountEntry
impl UnwindSafe for SubAccountEntry
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