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