Enum indy_vdr::ledger::constants::UpdateRole
source · pub enum UpdateRole {
Reset,
Set(LedgerRole),
}
Variants§
Reset
Set(LedgerRole)
Trait Implementations§
source§impl Clone for UpdateRole
impl Clone for UpdateRole
source§fn clone(&self) -> UpdateRole
fn clone(&self) -> UpdateRole
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 UpdateRole
impl Debug for UpdateRole
source§impl<'d> Deserialize<'d> for UpdateRole
impl<'d> Deserialize<'d> for UpdateRole
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'d>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'d>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for UpdateRole
impl FromStr for UpdateRole
source§impl PartialEq for UpdateRole
impl PartialEq for UpdateRole
source§fn eq(&self, other: &UpdateRole) -> bool
fn eq(&self, other: &UpdateRole) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UpdateRole
impl Serialize for UpdateRole
impl Copy for UpdateRole
impl Eq for UpdateRole
impl StructuralPartialEq for UpdateRole
Auto Trait Implementations§
impl Freeze for UpdateRole
impl RefUnwindSafe for UpdateRole
impl Send for UpdateRole
impl Sync for UpdateRole
impl Unpin for UpdateRole
impl UnwindSafe for UpdateRole
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