Enum fuel_chain_config::config::BlockProduction
source · pub enum BlockProduction {
ProofOfAuthority {
trigger: Trigger,
},
}
Expand description
Block production mode and settings
Variants§
Trait Implementations§
source§impl Clone for BlockProduction
impl Clone for BlockProduction
source§fn clone(&self) -> BlockProduction
fn clone(&self) -> BlockProduction
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 BlockProduction
impl Debug for BlockProduction
source§impl<'de> Deserialize<'de> for BlockProduction
impl<'de> Deserialize<'de> for BlockProduction
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<BlockProduction> for BlockProduction
impl PartialEq<BlockProduction> for BlockProduction
source§fn eq(&self, other: &BlockProduction) -> bool
fn eq(&self, other: &BlockProduction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.