Module validated

Module validated 

Source
Expand description

An example of constructing a strongly-typed wrapper around a validated string value.

The types in this module perform validation prior to allowing the type to be instantiated. If a value is invalid, then an error will be returned rather than allowing the invalid value to be constructed.

Refer to the Validator implementation for a given type for additional information on what is considered a valid value for the type.

Structs§

ScopeToken
A scope token as defined in RFC6749, Section 3.3
ScopeTokenRef
A borrowed reference to a ScopeToken A scope token as defined in RFC6749, Section 3.3

Enums§

InvalidScopeToken
An error indicating that the provided string is not a valid scope token