pub struct CoinbaseTransaction {
pub id: SmartString,
pub transaction_type: SmartString,
pub status: SmartString,
pub amount: CoinbaseAccountBalance,
pub native_amount: CoinbaseAccountBalance,
pub description: SmartString,
pub created_at: SmartString,
pub updated_at: SmartString,
pub resource: SmartString,
pub resource_path: SmartString,
pub instant_exchange: bool,
pub details: Value,
}Expand description
Transaction summary
Fields§
§id: SmartStringUnique identifier for the transaction
transaction_type: SmartStringType of transaction (e.g., “send”, “receive”, “buy”, “sell”)
status: SmartStringCurrent status of the transaction
amount: CoinbaseAccountBalanceAmount of the transaction
native_amount: CoinbaseAccountBalanceNative amount (in user’s native currency)
description: SmartStringHuman-readable description of the transaction
created_at: SmartStringISO 8601 timestamp when the transaction was created
updated_at: SmartStringISO 8601 timestamp when the transaction was last updated
resource: SmartStringResource type (e.g., “transaction”)
resource_path: SmartStringAPI path to the resource
instant_exchange: boolWhether this was an instant exchange transaction
details: ValueAdditional transaction details
Trait Implementations§
Source§impl Clone for CoinbaseTransaction
impl Clone for CoinbaseTransaction
Source§fn clone(&self) -> CoinbaseTransaction
fn clone(&self) -> CoinbaseTransaction
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 CoinbaseTransaction
impl Debug for CoinbaseTransaction
Source§impl<'de> Deserialize<'de> for CoinbaseTransaction
impl<'de> Deserialize<'de> for CoinbaseTransaction
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 CoinbaseTransaction
impl RefUnwindSafe for CoinbaseTransaction
impl Send for CoinbaseTransaction
impl Sync for CoinbaseTransaction
impl Unpin for CoinbaseTransaction
impl UnwindSafe for CoinbaseTransaction
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