Function ink_storage::traits::push_packed_root
source · [−]pub fn push_packed_root<T>(entity: &T, root_key: &Key) where
T: PackedLayout,
Expand description
Pushes the entity to the contract storage using packed layout.
Note
- The routine will push the given entity to the contract storage using packed layout.
- Users should prefer using this function directly instead of using the
trait methods on
PackedLayout
.