#[repr(C, packed(1))]pub struct EnvVars {
pub performance_multiplier: Percent,
pub existential_deposit: u128,
pub mailbox_threshold: u64,
pub gas_multiplier: GasMultiplier,
}
Expand description
Current version of execution settings.
Backend maintains backward compatibility with previous versions of execution settings. This structure matches to the most recent version of execution settings supported by backend.
Fields§
§performance_multiplier: Percent
Current performance multiplier.
existential_deposit: u128
Current value of existential deposit.
mailbox_threshold: u64
Current value of mailbox threshold.
gas_multiplier: GasMultiplier
Current gas multiplier.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvVars
impl RefUnwindSafe for EnvVars
impl Send for EnvVars
impl Sync for EnvVars
impl Unpin for EnvVars
impl UnwindSafe for EnvVars
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