Enum lockchain_core::users::Access[][src]

pub enum Access {
    Vault(Role),
    Record(RoleString),
}

Specifies access to a resource

Variants

Allows access to vault metadata & index files

Allows access to a record resource inside a vault

Trait Implementations

impl Hash for Access
[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 Access
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Access
[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 Access
[src]

impl AutoEncoder for Access
[src]

Auto Trait Implementations

impl Send for Access

impl Sync for Access