everscale_types::dict

Function dict_insert

Source
pub fn dict_insert(
    dict: &mut Option<Cell>,
    key: &mut CellSlice<'_>,
    key_bit_len: u16,
    value: &dyn Store,
    mode: SetMode,
    context: &mut dyn CellContext,
) -> Result<bool, Error>
Expand description

Inserts the value associated with key in dictionary in accordance with the logic of the specified SetMode.