pub type TextID<'a> = ConstrainedText<&'a str, NonEmptyAllASCII>;
Expand description
A text string ID that cannot be empty or all-whitespace, and must be all-ASCII.
This type is usually used for specifying a unique ID.
It Deref
s to &str
.
Aliased Typeยง
pub struct TextID<'a>(/* private fields */);