Struct avalanche_types::subnet::config::consensus::Parameters
source · pub struct Parameters {
pub snowball_parameters: SnowballParameters,
pub parents: i32,
pub batch_size: i32,
}
Fields§
§snowball_parameters: SnowballParameters
Embeds “SnowballParameters” at the same level as other fields.
parents: i32
§batch_size: i32
Implementations§
source§impl Parameters
impl Parameters
Trait Implementations§
source§impl Clone for Parameters
impl Clone for Parameters
source§fn clone(&self) -> Parameters
fn clone(&self) -> Parameters
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 Parameters
impl Debug for Parameters
source§impl Default for Parameters
impl Default for Parameters
source§impl<'de> Deserialize<'de> for Parameters
impl<'de> Deserialize<'de> for Parameters
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<Parameters> for Parameters
impl PartialEq<Parameters> for Parameters
source§fn eq(&self, other: &Parameters) -> bool
fn eq(&self, other: &Parameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Parameters
impl Serialize for Parameters
impl StructuralPartialEq for Parameters
Auto Trait Implementations§
impl RefUnwindSafe for Parameters
impl Send for Parameters
impl Sync for Parameters
impl Unpin for Parameters
impl UnwindSafe for Parameters
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request