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
sourceimpl Clone for Bip9SoftforkInfo
impl Clone for Bip9SoftforkInfo
sourcefn clone(&self) -> Bip9SoftforkInfo
fn clone(&self) -> Bip9SoftforkInfo
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 Bip9SoftforkInfo
impl Debug for Bip9SoftforkInfo
sourceimpl<'de> Deserialize<'de> for Bip9SoftforkInfo
impl<'de> Deserialize<'de> for Bip9SoftforkInfo
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<Bip9SoftforkInfo> for Bip9SoftforkInfo
impl PartialEq<Bip9SoftforkInfo> for Bip9SoftforkInfo
sourcefn 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 ==
. Read more
sourceimpl Serialize for Bip9SoftforkInfo
impl Serialize for Bip9SoftforkInfo
impl Eq for Bip9SoftforkInfo
impl StructuralEq for Bip9SoftforkInfo
impl StructuralPartialEq for Bip9SoftforkInfo
Auto Trait Implementations
impl RefUnwindSafe for Bip9SoftforkInfo
impl Send for Bip9SoftforkInfo
impl Sync for Bip9SoftforkInfo
impl Unpin for Bip9SoftforkInfo
impl UnwindSafe for Bip9SoftforkInfo
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