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 for Bip9SoftforkStatistics
impl PartialEq 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 ==
.source§impl Serialize for Bip9SoftforkStatistics
impl Serialize for Bip9SoftforkStatistics
impl Eq for Bip9SoftforkStatistics
impl StructuralPartialEq for Bip9SoftforkStatistics
Auto Trait Implementations§
impl Freeze for Bip9SoftforkStatistics
impl RefUnwindSafe for Bip9SoftforkStatistics
impl Send for Bip9SoftforkStatistics
impl Sync for Bip9SoftforkStatistics
impl Unpin for Bip9SoftforkStatistics
impl UnwindSafe for Bip9SoftforkStatistics
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