pub struct UnpackedConfig {
pub latest_storage_prices: Option<CellSliceParts>,
pub global_id: Option<Cell>,
pub mc_gas_prices: Option<Cell>,
pub gas_prices: Option<Cell>,
pub mc_fwd_prices: Option<Cell>,
pub fwd_prices: Option<Cell>,
pub size_limits_config: Option<Cell>,
}
Expand description
Unpacked config params, ready to be used in SmcInfoTonV6::with_unpacked_config
.
A Send + Sync
alternative of C7 SafeRc<Tuple>
at the cost of vec allocation.
Can be shared between execution groups in multiple threads.
Fields§
§latest_storage_prices: Option<CellSliceParts>
§global_id: Option<Cell>
§mc_gas_prices: Option<Cell>
§gas_prices: Option<Cell>
§mc_fwd_prices: Option<Cell>
§fwd_prices: Option<Cell>
§size_limits_config: Option<Cell>
Implementations§
Trait Implementations§
Source§impl Clone for UnpackedConfig
impl Clone for UnpackedConfig
Source§fn clone(&self) -> UnpackedConfig
fn clone(&self) -> UnpackedConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for UnpackedConfig
impl !RefUnwindSafe for UnpackedConfig
impl !Send for UnpackedConfig
impl !Sync for UnpackedConfig
impl Unpin for UnpackedConfig
impl !UnwindSafe for UnpackedConfig
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