[][src]Enum unicode_security::restriction_level::RestrictionLevel

pub enum RestrictionLevel {
    ASCIIOnly,
    SingleScript,
    HighlyRestrictive,
    ModeratelyRestrictive,
    MinimallyRestrictive,
    Unrestricted,
}

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

impl Clone for RestrictionLevel[src]

impl Copy for RestrictionLevel[src]

impl Debug for RestrictionLevel[src]

impl Eq for RestrictionLevel[src]

impl Hash for RestrictionLevel[src]

impl Ord for RestrictionLevel[src]

impl PartialEq<RestrictionLevel> for RestrictionLevel[src]

impl PartialOrd<RestrictionLevel> for RestrictionLevel[src]

impl StructuralEq for RestrictionLevel[src]

impl StructuralPartialEq for RestrictionLevel[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.