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
sourceimpl Clone for Bip9SoftforkStatistics
impl Clone for Bip9SoftforkStatistics
sourcefn clone(&self) -> Bip9SoftforkStatistics
fn clone(&self) -> Bip9SoftforkStatistics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Bip9SoftforkStatistics
impl Debug for Bip9SoftforkStatistics
sourceimpl<'de> Deserialize<'de> for Bip9SoftforkStatistics
impl<'de> Deserialize<'de> for Bip9SoftforkStatistics
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
sourceimpl PartialEq<Bip9SoftforkStatistics> for Bip9SoftforkStatistics
impl PartialEq<Bip9SoftforkStatistics> for Bip9SoftforkStatistics
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &Bip9SoftforkStatistics) -> bool
fn ne(&self, other: &Bip9SoftforkStatistics) -> bool
This method tests for !=
.
sourceimpl Serialize for Bip9SoftforkStatistics
impl Serialize for Bip9SoftforkStatistics
impl Eq for Bip9SoftforkStatistics
impl StructuralEq for Bip9SoftforkStatistics
impl StructuralPartialEq for Bip9SoftforkStatistics
Auto Trait Implementations
impl RefUnwindSafe for Bip9SoftforkStatistics
impl Send for Bip9SoftforkStatistics
impl Sync for Bip9SoftforkStatistics
impl Unpin for Bip9SoftforkStatistics
impl UnwindSafe for Bip9SoftforkStatistics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more