pub enum LedgerSpec {
LedgerIndex(LedgerIndex),
LedgerHash(String),
}
Expand description
Specification of ledger to retreive data from. See <https://xrpl.org/basic-data-types.html#specifying-ledgers
Variants§
LedgerIndex(LedgerIndex)
LedgerHash(String)
Trait Implementations§
Source§impl Clone for LedgerSpec
impl Clone for LedgerSpec
Source§fn clone(&self) -> LedgerSpec
fn clone(&self) -> LedgerSpec
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 moreAuto Trait Implementations§
impl Freeze for LedgerSpec
impl RefUnwindSafe for LedgerSpec
impl Send for LedgerSpec
impl Sync for LedgerSpec
impl Unpin for LedgerSpec
impl UnwindSafe for LedgerSpec
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