pub struct LedgerAppendCommand { /* private fields */ }Expand description
Semantic command for ledger entry append.
Implementations§
Source§impl LedgerAppendCommand
impl LedgerAppendCommand
Sourcepub fn new(sequence: u64, entry: LedgerEntry, timestamp: u64) -> Self
pub fn new(sequence: u64, entry: LedgerEntry, timestamp: u64) -> Self
Creates a new ledger-append command.
Sourcepub fn entry(&self) -> &LedgerEntry
pub fn entry(&self) -> &LedgerEntry
Returns the ledger entry.
Trait Implementations§
Source§impl Clone for LedgerAppendCommand
impl Clone for LedgerAppendCommand
Source§fn clone(&self) -> LedgerAppendCommand
fn clone(&self) -> LedgerAppendCommand
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 LedgerAppendCommand
impl Debug for LedgerAppendCommand
Source§impl PartialEq for LedgerAppendCommand
impl PartialEq for LedgerAppendCommand
impl Eq for LedgerAppendCommand
impl StructuralPartialEq for LedgerAppendCommand
Auto Trait Implementations§
impl Freeze for LedgerAppendCommand
impl RefUnwindSafe for LedgerAppendCommand
impl Send for LedgerAppendCommand
impl Sync for LedgerAppendCommand
impl Unpin for LedgerAppendCommand
impl UnsafeUnpin for LedgerAppendCommand
impl UnwindSafe for LedgerAppendCommand
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