Enum unicode_security::restriction_level::RestrictionLevel [−][src]
pub enum RestrictionLevel {
ASCIIOnly,
SingleScript,
HighlyRestrictive,
ModeratelyRestrictive,
MinimallyRestrictive,
Unrestricted,
}
Expand description
The Restriction level a string conforms to
Variants
ASCIIOnly
https://www.unicode.org/reports/tr39/#ascii_only
SingleScript
https://www.unicode.org/reports/tr39/#single_script
HighlyRestrictive
https://www.unicode.org/reports/tr39/#highly_restrictive
ModeratelyRestrictive
https://www.unicode.org/reports/tr39/#moderately_restrictive
MinimallyRestrictive
https://www.unicode.org/reports/tr39/#minimally_restrictive
Unrestricted
https://www.unicode.org/reports/tr39/#unrestricted
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for RestrictionLevel
impl Send for RestrictionLevel
impl Sync for RestrictionLevel
impl Unpin for RestrictionLevel
impl UnwindSafe for RestrictionLevel
Blanket Implementations
Mutably borrows from an owned value. Read more