pub struct RoundParams<Id: Ord + Eq, H, N> {
    pub round_number: u64,
    pub voters: VoterSet<Id>,
    pub base: (H, N),
}
Expand description

Parameters for starting a round.

Fields§

§round_number: u64

The round number for votes.

§voters: VoterSet<Id>

Actors and weights in the round.

§base: (H, N)

The base block to build on.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.