Enum coreledger_backend::model::LedgerType
pub enum LedgerType {
CLMP,
CLMD,
CLNFT,
TRIOB,
}
Variants§
Implementations§
§impl LedgerType
impl LedgerType
pub fn has_feature(&self, feature: &LedgerFeature) -> bool
Trait Implementations§
§impl CandidType for LedgerType
impl CandidType for LedgerType
§impl Clone for LedgerType
impl Clone for LedgerType
§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 more§impl Debug for LedgerType
impl Debug for LedgerType
§impl<'de> Deserialize<'de> for LedgerType
impl<'de> Deserialize<'de> for LedgerType
§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
§impl Serialize for LedgerType
impl Serialize 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