Enum lockchain_core::users::Role[][src]

pub enum Role {
    Reader,
    Editor,
    Admin,
}

Specifies the capabilities of a user

Variants

Trait Implementations

impl Hash for Role
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for Role
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Role
[src]

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

This method tests for !=.

impl Eq for Role
[src]

impl AutoEncoder for Role
[src]

Auto Trait Implementations

impl Send for Role

impl Sync for Role