Enum lockchain_core::users::Access [−][src]
Specifies access to a resource
Variants
Vault(Role)Allows access to vault metadata & index files
Record(Role, String)Allows access to a record resource inside a vault
Trait Implementations
impl Hash for Access[src]
impl Hash for Accessfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for Access[src]
impl Clone for Accessfn clone(&self) -> Access[src]
fn clone(&self) -> AccessReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Access[src]
impl PartialEq for Accessfn eq(&self, other: &Access) -> bool[src]
fn eq(&self, other: &Access) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Access) -> bool[src]
fn ne(&self, other: &Access) -> boolThis method tests for !=.
impl Eq for Access[src]
impl Eq for Accessimpl AutoEncoder for Access[src]
impl AutoEncoder for Accessfn encode(&self) -> Result<String, SerdeError>[src]
fn encode(&self) -> Result<String, SerdeError>fn decode(s: &str) -> Result<Self, SerdeError>[src]
fn decode(s: &str) -> Result<Self, SerdeError>