pub enum SoftforkType {
Buried,
Bip9,
}Expand description
The softfork type. Part of getblockchaininfo.
Variants§
Buried
Softfork is “buried” (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 duplicate 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<SoftforkType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SoftforkType, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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 UnsafeUnpin 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