Enum rincon_client::user::types::Permission [] [src]

pub enum Permission {
    ReadWrite,
    ReadOnly,
    None,
}

This enum defines the possible access levels.

Variants

The 'Administrate' access level.

The 'Access' access level.

The 'No access' access level.

Methods

impl Permission
[src]

[src]

Returns a str representation of this permission value.

Trait Implementations

impl Clone for Permission
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Permission
[src]

impl Debug for Permission
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Permission
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl FromStr for Permission
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

impl Display for Permission
[src]

[src]

Formats the value using the given formatter. Read more

impl Serialize for Permission
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Permission
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Permission

impl Sync for Permission