pub struct Account {
pub id: String,
pub account_number: String,
pub account_type: AccountType,
pub status: AccountStatus,
pub created_at: DateTime<Utc>,
pub currency: String,
pub paper_trading: bool,
pub region: Option<String>,
pub name: Option<String>,
pub email: Option<String>,
pub phone: Option<String>,
}Expand description
Account information from Webull.
Fields§
§id: StringAccount ID
account_number: StringAccount number
account_type: AccountTypeAccount type
status: AccountStatusAccount status
created_at: DateTime<Utc>When the account was created
currency: StringCurrency of the account
paper_trading: boolWhether the account is a paper trading account
region: Option<String>Account region
name: Option<String>Account name
email: Option<String>Account email
phone: Option<String>Account phone number
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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 Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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