Struct diem_types::on_chain_config::ConsensusConfigV1
source · pub struct ConsensusConfigV1 {
pub two_chain: bool,
}
Fields§
§two_chain: bool
Trait Implementations§
source§impl Clone for ConsensusConfigV1
impl Clone for ConsensusConfigV1
source§fn clone(&self) -> ConsensusConfigV1
fn clone(&self) -> ConsensusConfigV1
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 ConsensusConfigV1
impl Debug for ConsensusConfigV1
source§impl Default for ConsensusConfigV1
impl Default for ConsensusConfigV1
source§impl<'de> Deserialize<'de> for ConsensusConfigV1
impl<'de> Deserialize<'de> for ConsensusConfigV1
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<ConsensusConfigV1> for ConsensusConfigV1
impl PartialEq<ConsensusConfigV1> for ConsensusConfigV1
source§fn eq(&self, other: &ConsensusConfigV1) -> bool
fn eq(&self, other: &ConsensusConfigV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConsensusConfigV1
impl Serialize for ConsensusConfigV1
impl StructuralPartialEq for ConsensusConfigV1
Auto Trait Implementations§
impl RefUnwindSafe for ConsensusConfigV1
impl Send for ConsensusConfigV1
impl Sync for ConsensusConfigV1
impl Unpin for ConsensusConfigV1
impl UnwindSafe for ConsensusConfigV1
Blanket Implementations§
source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.