pub fn as_str(&self) -> &str {
        use self::Permission::*;
        match *self {
            ReadWrite => PERMISSION_READ_WRITE,
            ReadOnly => PERMISSION_READ_ONLY,
            None => PERMISSION_NONE,
        }
    }
/// Returns a str representation of this permission value.
Returns a str representation of this permission value.
Returns a str representation of this permission value .
pub fn as_str(&self) -> &str {
        use self::Permission::*;
        match *self {
            ReadWrite => PERMISSION_READ_WRITE,
            ReadOnly => PERMISSION_READ_ONLY,
            None => PERMISSION_NONE,
        }
    }
pub fn as_str ( & self ) -> & str { use self :: Permission :: * ; match * self { ReadWrite => PERMISSION_READ_WRITE , ReadOnly => PERMISSION_READ_ONLY , None => PERMISSION_NONE , } }
Returns a str representation of this permission value.
Returns a str representation of this permission value .
&self
&self