Module validus::vstr

source ·
Expand description

Validated string slice

Structs

  • Accept now, validate later.
  • An immutable string (or string slice) that may or may not have been validated according to a certain rule. The validation status is tracked at runtime.
  • A validated string slice with a given rule or label.
  • A special implementation that validates everything.

Traits

Type Definitions

  • Create a validated string slice.