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
sourceimpl<'de> Deserialize<'de> for Softfork
impl<'de> Deserialize<'de> for Softfork
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<Softfork> for Softfork
impl PartialEq<Softfork> for Softfork
impl Eq for Softfork
impl StructuralEq for Softfork
impl StructuralPartialEq for Softfork
Auto Trait Implementations
impl RefUnwindSafe for Softfork
impl Send for Softfork
impl Sync for Softfork
impl Unpin for Softfork
impl UnwindSafe for Softfork
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