Module kanidmd_lib::value
source · Expand description
Inside an entry, the key-value pairs are stored in these Value
types. The components of
the Value
module allow storage and transformation of various types of input into strongly
typed values, allows their comparison, filtering and more. It also has the code for serialising
these into a form for the backend that can be persistent into the Backend
.
Structs§
- Only lowercase+numbers, with limited chars.
- Only lowercase+numbers, with limited chars.
- Only alpha-numeric with limited special chars and space
- Must not contain whitespace.
- Per https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address this regex validates for valid emails.
Enums§
- A partial value is a key or key subset that can be used to match for equality or substring against a complete Value within a set in an Entry.
- A value is a complete unit of data for an attribute. It is made up of a PartialValue, which is used for selection, filtering, searching, matching etc. It also contains supplemental data which may be stored inside of the Value, such as credential secrets, blobs etc.