pub enum ChainLinkKind {
Boot,
Upgrade,
Revocation,
}Expand description
Kind of a chain entry.
Variants§
Trait Implementations§
Source§impl Clone for ChainLinkKind
impl Clone for ChainLinkKind
Source§fn clone(&self) -> ChainLinkKind
fn clone(&self) -> ChainLinkKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChainLinkKind
Source§impl Debug for ChainLinkKind
impl Debug for ChainLinkKind
Source§impl<'de> Deserialize<'de> for ChainLinkKind
impl<'de> Deserialize<'de> for ChainLinkKind
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
impl Eq for ChainLinkKind
Source§impl PartialEq for ChainLinkKind
impl PartialEq for ChainLinkKind
Source§fn eq(&self, other: &ChainLinkKind) -> bool
fn eq(&self, other: &ChainLinkKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChainLinkKind
impl Serialize for ChainLinkKind
impl StructuralPartialEq for ChainLinkKind
Auto Trait Implementations§
impl Freeze for ChainLinkKind
impl RefUnwindSafe for ChainLinkKind
impl Send for ChainLinkKind
impl Sync for ChainLinkKind
impl Unpin for ChainLinkKind
impl UnsafeUnpin for ChainLinkKind
impl UnwindSafe for ChainLinkKind
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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