pub struct LedgerEntryResult {
pub last_modified_ledger_seq: Option<u32>,
pub live_until_ledger_seq: Option<u32>,
/* private fields */
}Expand description
A pair of LedgerKey and LedgerEntryData
Fields§
§last_modified_ledger_seq: Option<u32>The ledger sequence number of the last time this entry was updated.
live_until_ledger_seq: Option<u32>Sequence number of the ledger.
Implementations§
Source§impl LedgerEntryResult
impl LedgerEntryResult
Sourcepub fn to_data(&self) -> LedgerEntryData
pub fn to_data(&self) -> LedgerEntryData
The current value of the given ledger entry
Sourcepub fn to_ext(&self) -> Option<LedgerEntryExt>
pub fn to_ext(&self) -> Option<LedgerEntryExt>
The extension of the ledger entry
Trait Implementations§
Source§impl Clone for LedgerEntryResult
impl Clone for LedgerEntryResult
Source§fn clone(&self) -> LedgerEntryResult
fn clone(&self) -> LedgerEntryResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LedgerEntryResult
impl Debug for LedgerEntryResult
Source§impl<'de> Deserialize<'de> for LedgerEntryResult
impl<'de> Deserialize<'de> for LedgerEntryResult
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 LedgerEntryResult
impl RefUnwindSafe for LedgerEntryResult
impl Send for LedgerEntryResult
impl Sync for LedgerEntryResult
impl Unpin for LedgerEntryResult
impl UnwindSafe for LedgerEntryResult
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