pub struct Softfork {
pub id: String,
pub version: u64,
pub reject: RejectStatus,
}Expand description
Status of a softfork
Fields§
§id: StringName of softfork
version: u64Block version
reject: RejectStatusProgress toward rejecting pre-softfork blocks
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
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