label
Module[Label]: user labels.
Contents
use utopia_database::validator::label::Label;Rust
pub struct LabelA label: a Key made only of a-z, A-Z and 0-9.
Rust
use utopia_database::validator::label::Label;
use utopia_database::value::string;
assert!(Label::default().is_valid(&string("vip2")));
assert!(!Label::default().is_valid(&string("v.i.p")));Also implements
Default.