Struct bitcoincore_rpc_json::Bip9SoftforkInfo
source · pub struct Bip9SoftforkInfo {
pub status: Bip9SoftforkStatus,
pub bit: Option<u8>,
pub start_time: i64,
pub timeout: u64,
pub since: u32,
pub statistics: Option<Bip9SoftforkStatistics>,
}
Fields§
§status: Bip9SoftforkStatus
§bit: Option<u8>
§start_time: i64
§timeout: u64
§since: u32
§statistics: Option<Bip9SoftforkStatistics>
Trait Implementations§
source§impl Clone for Bip9SoftforkInfo
impl Clone for Bip9SoftforkInfo
source§fn clone(&self) -> Bip9SoftforkInfo
fn clone(&self) -> Bip9SoftforkInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Bip9SoftforkInfo
impl Debug for Bip9SoftforkInfo
source§impl<'de> Deserialize<'de> for Bip9SoftforkInfo
impl<'de> Deserialize<'de> for Bip9SoftforkInfo
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<Bip9SoftforkInfo> for Bip9SoftforkInfo
impl PartialEq<Bip9SoftforkInfo> for Bip9SoftforkInfo
source§fn eq(&self, other: &Bip9SoftforkInfo) -> bool
fn eq(&self, other: &Bip9SoftforkInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.