pub enum Bip9SoftforkStatus {
Defined,
Started,
LockedIn,
Active,
Failed,
}
Variants§
Trait Implementations§
source§impl Clone for Bip9SoftforkStatus
impl Clone for Bip9SoftforkStatus
source§fn clone(&self) -> Bip9SoftforkStatus
fn clone(&self) -> Bip9SoftforkStatus
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 Bip9SoftforkStatus
impl Debug for Bip9SoftforkStatus
source§impl<'de> Deserialize<'de> for Bip9SoftforkStatus
impl<'de> Deserialize<'de> for Bip9SoftforkStatus
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 PartialEq for Bip9SoftforkStatus
impl PartialEq for Bip9SoftforkStatus
source§fn eq(&self, other: &Bip9SoftforkStatus) -> bool
fn eq(&self, other: &Bip9SoftforkStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Bip9SoftforkStatus
impl Serialize for Bip9SoftforkStatus
impl Copy for Bip9SoftforkStatus
impl Eq for Bip9SoftforkStatus
impl StructuralPartialEq for Bip9SoftforkStatus
Auto Trait Implementations§
impl Freeze for Bip9SoftforkStatus
impl RefUnwindSafe for Bip9SoftforkStatus
impl Send for Bip9SoftforkStatus
impl Sync for Bip9SoftforkStatus
impl Unpin for Bip9SoftforkStatus
impl UnwindSafe for Bip9SoftforkStatus
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