Struct bitcoincore_rpc_json::Softfork
source · pub struct Softfork {
pub id: String,
pub version: u64,
pub reject: RejectStatus,
}
Expand description
Status of a softfork
Fields
id: String
Name of softfork
version: u64
Block version
reject: RejectStatus
Progress toward rejecting pre-softfork blocks
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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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