pub struct ExchangeOrderRecord {
pub from_coin: String,
pub from_amount: Decimal,
pub to_coin: String,
pub to_amount: Decimal,
pub exchange_rate: Decimal,
pub created_time: Timestamp,
pub exchange_tx_id: String,
}Expand description
Part of the response of /v5/asset/exchange/order-record.
Fields§
§from_coin: StringThe currency to convert from.
from_amount: DecimalThe amount to convert from.
to_coin: StringThe currency to convert to.
to_amount: DecimalThe amount to convert to.
exchange_rate: DecimalExchange rate.
created_time: TimestampTimestamp in seconds
exchange_tx_id: StringExchange transaction ID.
Trait Implementations§
Source§impl Debug for ExchangeOrderRecord
impl Debug for ExchangeOrderRecord
Source§impl<'de> Deserialize<'de> for ExchangeOrderRecord
impl<'de> Deserialize<'de> for ExchangeOrderRecord
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
Source§impl PartialEq for ExchangeOrderRecord
impl PartialEq for ExchangeOrderRecord
impl StructuralPartialEq for ExchangeOrderRecord
Auto Trait Implementations§
impl Freeze for ExchangeOrderRecord
impl RefUnwindSafe for ExchangeOrderRecord
impl Send for ExchangeOrderRecord
impl Sync for ExchangeOrderRecord
impl Unpin for ExchangeOrderRecord
impl UnsafeUnpin for ExchangeOrderRecord
impl UnwindSafe for ExchangeOrderRecord
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