pub struct AccountProfile {Show 14 fields
pub id: String,
pub account_number: String,
pub account_type: AccountType,
pub status: AccountStatus,
pub region: String,
pub name: String,
pub email: Option<String>,
pub phone: Option<String>,
pub currency: String,
pub paper_trading: bool,
pub created_at: DateTime<Utc>,
pub kyc_status: Option<String>,
pub risk_level: Option<String>,
pub permissions: Option<Vec<String>>,
}Expand description
Account profile information.
Fields§
§id: StringAccount ID
account_number: StringAccount number
account_type: AccountTypeAccount type
status: AccountStatusAccount status
region: StringAccount region
name: StringAccount name
email: Option<String>Account email
phone: Option<String>Account phone number
currency: StringAccount currency
paper_trading: boolWhether the account is a paper trading account
created_at: DateTime<Utc>Account creation date
kyc_status: Option<String>Account KYC status
risk_level: Option<String>Account risk level
permissions: Option<Vec<String>>Account permissions
Trait Implementations§
Source§impl Clone for AccountProfile
impl Clone for AccountProfile
Source§fn clone(&self) -> AccountProfile
fn clone(&self) -> AccountProfile
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 AccountProfile
impl Debug for AccountProfile
Source§impl<'de> Deserialize<'de> for AccountProfile
impl<'de> Deserialize<'de> for AccountProfile
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 AccountProfile
impl RefUnwindSafe for AccountProfile
impl Send for AccountProfile
impl Sync for AccountProfile
impl Unpin for AccountProfile
impl UnwindSafe for AccountProfile
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