Skip to main content

Module durable

Module durable 

Source
Expand description

Decoders for values in their durable catalog JSON encoding, the serde shape of the mz-catalog-protos types.

Functionsยง

acl_mode
Converts a catalog JSON-serialized AclMode bitflags object (e.g. {"bitflags": 514}) into an AclMode.
catalog_id
Converts a catalog JSON-serialized ID value into the appropriate string format.
privileges
Converts a catalog JSON-serialized privilege array into a list of MzAclItems.