pub struct Bip9SoftforkStatistics {
pub period: u32,
pub threshold: Option<u32>,
pub elapsed: u32,
pub count: u32,
pub possible: Option<bool>,
}
Fields§
§period: u32
§threshold: Option<u32>
§elapsed: u32
§count: u32
§possible: Option<bool>
Trait Implementations§
source§impl Clone for Bip9SoftforkStatistics
impl Clone for Bip9SoftforkStatistics
source§fn clone(&self) -> Bip9SoftforkStatistics
fn clone(&self) -> Bip9SoftforkStatistics
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 Bip9SoftforkStatistics
impl Debug for Bip9SoftforkStatistics
source§impl<'de> Deserialize<'de> for Bip9SoftforkStatistics
impl<'de> Deserialize<'de> for Bip9SoftforkStatistics
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<Bip9SoftforkStatistics> for Bip9SoftforkStatistics
impl PartialEq<Bip9SoftforkStatistics> for Bip9SoftforkStatistics
source§fn eq(&self, other: &Bip9SoftforkStatistics) -> bool
fn eq(&self, other: &Bip9SoftforkStatistics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.