Struct everscale_types::models::config::BlockParamLimits
source · pub struct BlockParamLimits {
pub underload: u32,
pub soft_limit: u32,
pub hard_limit: u32,
}Expand description
Block limits parameter.
Fields§
§underload: u32Value below which the parameter is considered underloaded.
soft_limit: u32Soft limit.
hard_limit: u32Hard limit.
Implementations§
Trait Implementations§
source§impl Clone for BlockParamLimits
impl Clone for BlockParamLimits
source§fn clone(&self) -> BlockParamLimits
fn clone(&self) -> BlockParamLimits
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 BlockParamLimits
impl Debug for BlockParamLimits
source§impl<'tlb> Load<'tlb> for BlockParamLimits
impl<'tlb> Load<'tlb> for BlockParamLimits
source§impl PartialEq<BlockParamLimits> for BlockParamLimits
impl PartialEq<BlockParamLimits> for BlockParamLimits
source§fn eq(&self, other: &BlockParamLimits) -> bool
fn eq(&self, other: &BlockParamLimits) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for BlockParamLimits
impl Store for BlockParamLimits
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 Copy for BlockParamLimits
impl Eq for BlockParamLimits
impl StructuralEq for BlockParamLimits
impl StructuralPartialEq for BlockParamLimits
Auto Trait Implementations§
impl RefUnwindSafe for BlockParamLimits
impl Send for BlockParamLimits
impl Sync for BlockParamLimits
impl Unpin for BlockParamLimits
impl UnwindSafe for BlockParamLimits
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