Struct everscale_types::models::config::ConfigProposalSetup
source · pub struct ConfigProposalSetup {
pub min_total_rounds: u8,
pub max_total_rounds: u8,
pub min_wins: u8,
pub max_losses: u8,
pub min_store_sec: u32,
pub max_store_sec: u32,
pub bit_price: u32,
pub cell_price: u32,
}Expand description
Config proposal setup params.
Fields§
§min_total_rounds: u8The minimal number of voting rounds for the proposal.
max_total_rounds: u8The maximum number of voting rounds for the proposal.
min_wins: u8The minimum number of winned voting rounds.
max_losses: u8The maximum number of lost voting rounds.
min_store_sec: u32The minimal proposal lifetime duration in seconds.
max_store_sec: u32The maximum proposal lifetime duration in seconds.
bit_price: u32Bit price for storage price computation.
cell_price: u32Cell price for storage price computation.
Trait Implementations§
source§impl Clone for ConfigProposalSetup
impl Clone for ConfigProposalSetup
source§fn clone(&self) -> ConfigProposalSetup
fn clone(&self) -> ConfigProposalSetup
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 ConfigProposalSetup
impl Debug for ConfigProposalSetup
source§impl<'tlb> Load<'tlb> for ConfigProposalSetup
impl<'tlb> Load<'tlb> for ConfigProposalSetup
source§impl PartialEq<ConfigProposalSetup> for ConfigProposalSetup
impl PartialEq<ConfigProposalSetup> for ConfigProposalSetup
source§fn eq(&self, other: &ConfigProposalSetup) -> bool
fn eq(&self, other: &ConfigProposalSetup) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for ConfigProposalSetup
impl Store for ConfigProposalSetup
source§fn store_into(
&self,
__builder: &mut CellBuilder,
__finalizer: &mut dyn Finalizer
) -> Result<(), Error>
fn store_into( &self, __builder: &mut CellBuilder, __finalizer: &mut dyn Finalizer ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for ConfigProposalSetup
impl StructuralEq for ConfigProposalSetup
impl StructuralPartialEq for ConfigProposalSetup
Auto Trait Implementations§
impl RefUnwindSafe for ConfigProposalSetup
impl Send for ConfigProposalSetup
impl Sync for ConfigProposalSetup
impl Unpin for ConfigProposalSetup
impl UnwindSafe for ConfigProposalSetup
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more