sui_types::dynamic_field

Function get_dynamic_field_from_store

Source
pub fn get_dynamic_field_from_store<K, V>(
    object_store: &dyn ObjectStore,
    parent_id: ObjectID,
    key: &K,
) -> Result<V, SuiError>
Expand description

Similar to get_dynamic_field_object_from_store, but returns the value in the field instead of the Field object itself.