Struct bitcoincore_rpc_json::Softfork
source · pub struct Softfork {
pub type_: SoftforkType,
pub bip9: Option<Bip9SoftforkInfo>,
pub height: Option<u32>,
pub active: bool,
}
Expand description
Status of a softfork
Fields§
§type_: SoftforkType
§bip9: Option<Bip9SoftforkInfo>
§height: Option<u32>
§active: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Softfork
impl<'de> Deserialize<'de> for Softfork
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 Softfork
impl PartialEq for Softfork
impl Eq for Softfork
impl StructuralPartialEq for Softfork
Auto Trait Implementations§
impl Freeze for Softfork
impl RefUnwindSafe for Softfork
impl Send for Softfork
impl Sync for Softfork
impl Unpin for Softfork
impl UnwindSafe for Softfork
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