pub struct CoinbaseAccount {
pub uuid: SmartString,
pub name: SmartString,
pub currency: SmartString,
pub available_balance: CoinbaseAccountBalance,
pub default: bool,
pub active: bool,
pub created_at: SmartString,
pub updated_at: SmartString,
pub deleted_at: Option<SmartString>,
pub account_type: SmartString,
pub ready: bool,
pub hold: CoinbaseAccountBalance,
}Expand description
Account information
Fields§
§uuid: SmartStringUnique identifier for the account
name: SmartStringHuman-readable name for the account
currency: SmartStringCurrency code for the account (e.g., “BTC”, “USD”)
available_balance: CoinbaseAccountBalanceAvailable balance that can be used for trading
default: boolWhether this is the default account for the currency
active: boolWhether the account is currently active
created_at: SmartStringISO 8601 timestamp when the account was created
updated_at: SmartStringISO 8601 timestamp when the account was last updated
deleted_at: Option<SmartString>ISO 8601 timestamp when the account was deleted (if applicable)
account_type: SmartStringType of account (e.g., “wallet”, “fiat”)
ready: boolWhether the account is ready for trading
hold: CoinbaseAccountBalanceAmount held in pending transactions or orders
Trait Implementations§
Source§impl Clone for CoinbaseAccount
impl Clone for CoinbaseAccount
Source§fn clone(&self) -> CoinbaseAccount
fn clone(&self) -> CoinbaseAccount
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoinbaseAccount
impl Debug for CoinbaseAccount
Source§impl<'de> Deserialize<'de> for CoinbaseAccount
impl<'de> Deserialize<'de> for CoinbaseAccount
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 CoinbaseAccount
impl RefUnwindSafe for CoinbaseAccount
impl Send for CoinbaseAccount
impl Sync for CoinbaseAccount
impl Unpin for CoinbaseAccount
impl UnwindSafe for CoinbaseAccount
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