pub struct LedgerEntry {
pub asset: String,
pub available_after: Amount,
pub available_delta: Amount,
pub created_at: DateTime<Utc>,
pub id: String,
pub kind: LedgerEntryKind,
pub locked_delta: Amount,
pub pending_delta: Amount,
pub reference: LedgerReference,
pub sequence: i64,
}Expand description
One entry from the account’s ledger.
Fields§
§asset: StringAsset symbol.
available_after: Amountavailable_after
available_delta: Amountavailable_delta
created_at: DateTime<Utc>When it was applied.
id: StringEntry id.
kind: LedgerEntryKindkind
locked_delta: Amountlocked_delta
pending_delta: Amountpending_delta
reference: LedgerReferencereference
sequence: i64Position in this account’s history for this asset.
Trait Implementations§
Source§impl Clone for LedgerEntry
impl Clone for LedgerEntry
Source§impl Debug for LedgerEntry
impl Debug for LedgerEntry
Source§impl<'de> Deserialize<'de> for LedgerEntry
impl<'de> Deserialize<'de> for LedgerEntry
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 LedgerEntry
impl PartialEq for LedgerEntry
Source§impl Serialize for LedgerEntry
impl Serialize for LedgerEntry
impl StructuralPartialEq for LedgerEntry
Auto Trait Implementations§
impl Freeze for LedgerEntry
impl RefUnwindSafe for LedgerEntry
impl Send for LedgerEntry
impl Sync for LedgerEntry
impl Unpin for LedgerEntry
impl UnsafeUnpin for LedgerEntry
impl UnwindSafe for LedgerEntry
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