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