Module amplify::confinement

source ·
Expand description

Confinement puts a constrain on the number of elements within a collection.

Macros§

Structs§

  • The confinement for the collection.

Enums§

Constants§

  • Constant for a minimal size of a confined collection.
  • Constant for a maximal size of a confined collection equal to u8::MAX.
  • Constant for a maximal size of a confined collection equal to u16::MAX.
  • Constant for a maximal size of a confined collection equal to u24::MAX.
  • Constant for a maximal size of a confined collection equal to u32::MAX.
  • Constant for a maximal size of a confined collection equal to u64::MAX.
  • Constant for a minimal size of a confined collection.

Traits§

  • Trait implemented by a collection types which need to support collection confinement.
  • Trait implemented by key-value maps which need to support collection confinement.

Type Aliases§