pub struct BalanceUpdateEvent {
pub event_time: Timestamp,
pub asset: String,
pub delta: Decimal,
pub clear_time: Timestamp,
}Expand description
Single-asset balance change (deposit, withdrawal, transfer between wallets).
Fields§
§event_time: Timestamp§asset: String§delta: DecimalSigned delta — positive for credits, negative for debits.
clear_time: TimestampClear time (when the balance change was applied).
Trait Implementations§
Source§impl Debug for BalanceUpdateEvent
impl Debug for BalanceUpdateEvent
Source§impl<'de> Deserialize<'de> for BalanceUpdateEvent
impl<'de> Deserialize<'de> for BalanceUpdateEvent
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 BalanceUpdateEvent
impl PartialEq for BalanceUpdateEvent
Source§fn eq(&self, other: &BalanceUpdateEvent) -> bool
fn eq(&self, other: &BalanceUpdateEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BalanceUpdateEvent
Auto Trait Implementations§
impl Freeze for BalanceUpdateEvent
impl RefUnwindSafe for BalanceUpdateEvent
impl Send for BalanceUpdateEvent
impl Sync for BalanceUpdateEvent
impl Unpin for BalanceUpdateEvent
impl UnsafeUnpin for BalanceUpdateEvent
impl UnwindSafe for BalanceUpdateEvent
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