Module dynamic_field

Source

Modules§

visitor

Structs§

BoundedDynamicFieldID
A BoundedDynamicFieldID contains the material needed to load an a dynamic field from the store, along with a parent version bound. The returned field will be the highest version of the field object that has a version less than or equal to the bound.
DOFWrapper
Rust version of the Move sui::dynamic_object_field::Wrapper type
DynamicField
A DynamicField is a Field<K, V> object, that is, the value that would be stored in the field object.
DynamicFieldInfo
DynamicFieldKey
A chainable API for getting dynamic fields.
DynamicFieldName
DynamicFieldObject
A DynamicFieldObject is a wrapper around an Object that contains a Field<K, V> object.
Field
Rust version of the Move sui::dynamic_field::Field type
UnboundedDynamicFieldID
A UnboundedDynamicFieldID contains the material needed to load an a dynamic field from the store.

Enums§

DynamicFieldType

Constants§

DYNAMIC_FIELD_FIELD_STRUCT_NAME
DYNAMIC_FIELD_MODULE_NAME

Functions§

derive_dynamic_field_id
extract_field_from_move_struct
extract_id_value
get_dynamic_field_from_store
Similar to get_dynamic_field_object_from_store, but returns the value in the field instead of the Field object itself.
get_dynamic_field_object_from_store
Given a parent object ID (e.g. a table), and a key, retrieve the corresponding dynamic field object from the object_store. The key type K must implement MoveTypeTagTrait which has an associated function that returns the Move type tag. Note that this function returns the Field object itself, not the value in the field.
is_dynamic_object
serialize_dynamic_field