#[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)