Enum indy_vdr::pool::LedgerType
source · pub enum LedgerType {
POOL = 0,
DOMAIN = 1,
CONFIG = 2,
}
Expand description
An Indy Node subledger identifier
Variants§
POOL = 0
0
- Used for validator node details
DOMAIN = 1
1
- Used for the majority ledger transactions
CONFIG = 2
2
- Used for ledger configuration, such as the transaction author agreement
Implementations§
Trait Implementations§
source§impl Clone for LedgerType
impl Clone for LedgerType
source§fn clone(&self) -> LedgerType
fn clone(&self) -> LedgerType
Returns a copy 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 LedgerType
impl Debug for LedgerType
source§impl<'de> Deserialize<'de> for LedgerType
impl<'de> Deserialize<'de> for LedgerType
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 FromStr for LedgerType
impl FromStr for LedgerType
source§impl PartialEq for LedgerType
impl PartialEq for LedgerType
source§fn eq(&self, other: &LedgerType) -> bool
fn eq(&self, other: &LedgerType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for LedgerType
impl TryFrom<&str> for LedgerType
source§impl TryFrom<i32> for LedgerType
impl TryFrom<i32> for LedgerType
impl Copy for LedgerType
impl StructuralPartialEq for LedgerType
Auto Trait Implementations§
impl Freeze for LedgerType
impl RefUnwindSafe for LedgerType
impl Send for LedgerType
impl Sync for LedgerType
impl Unpin for LedgerType
impl UnwindSafe for LedgerType
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