Enum cyfs_base::AccessPermissions
source · #[repr(u8)]
pub enum AccessPermissions {
None,
CallOnly,
WriteOnly,
WriteAndCall,
ReadOnly,
ReadAndCall,
ReadAndWrite,
Full,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for AccessPermissions
impl Clone for AccessPermissions
source§fn clone(&self) -> AccessPermissions
fn clone(&self) -> AccessPermissions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccessPermissions
impl Debug for AccessPermissions
source§impl<'de> Deserialize<'de> for AccessPermissions
impl<'de> Deserialize<'de> for AccessPermissions
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for AccessPermissions
impl Display for AccessPermissions
source§impl Into<AccessPermissions> for RequestOpType
impl Into<AccessPermissions> for RequestOpType
source§fn into(self) -> AccessPermissions
fn into(self) -> AccessPermissions
Converts this type into the (usually inferred) input type.
source§impl PartialEq<AccessPermissions> for AccessPermissions
impl PartialEq<AccessPermissions> for AccessPermissions
source§fn eq(&self, other: &AccessPermissions) -> bool
fn eq(&self, other: &AccessPermissions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccessPermissions
impl Serialize for AccessPermissions
source§impl TryFrom<&str> for AccessPermissions
impl TryFrom<&str> for AccessPermissions
§type Error = BuckyError
type Error = BuckyError
The type returned in the event of a conversion error.
source§fn try_from(value: &str) -> BuckyResult<Self>
fn try_from(value: &str) -> BuckyResult<Self>
Performs the conversion.
source§impl TryFrom<u8> for AccessPermissions
impl TryFrom<u8> for AccessPermissions
§type Error = BuckyError
type Error = BuckyError
The type returned in the event of a conversion error.
source§fn try_from(v: u8) -> BuckyResult<Self>
fn try_from(v: u8) -> BuckyResult<Self>
Performs the conversion.