Struct diem_types::on_chain_config::ConsensusConfigV1 [−][src]
pub struct ConsensusConfigV1 {
pub two_chain: bool,
}
Fields
two_chain: bool
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Generates a hash used only for tests.