pub enum SoftforkType {
Buried,
Bip9,
}
Variants
Buried
Bip9
Trait Implementations
sourceimpl Clone for SoftforkType
impl Clone for SoftforkType
sourcefn clone(&self) -> SoftforkType
fn clone(&self) -> SoftforkType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SoftforkType
impl Debug for SoftforkType
sourceimpl<'de> Deserialize<'de> for SoftforkType
impl<'de> Deserialize<'de> for SoftforkType
sourcefn 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
sourceimpl PartialEq<SoftforkType> for SoftforkType
impl PartialEq<SoftforkType> for SoftforkType
sourcefn 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 ==
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more