pub enum SoftforkType {
    Buried,
    Bip9,
}Expand description
The softfork type: one of “burried”, “bip9”.
Variants§
Buried
Softfork is “burried” (as defined in [BIP-90]).
[BIP-90] https://github.com/bitcoin/bips/blob/master/bip-0090.mediawiki
Bip9
Softfork is “bip9” (see [BIP-9]).
[BIP-9] https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki
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§impl Serialize for SoftforkType
 
impl Serialize for SoftforkType
impl Copy for SoftforkType
impl Eq for SoftforkType
impl StructuralPartialEq for SoftforkType
Auto Trait Implementations§
impl Freeze for SoftforkType
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)