pub fn as_u8(&self) -> u8 {
        match *self {
            Permissions::User => 0x00,
            Permissions::Admin => 0x01,
        }
    }
/// Converts a `Permissions` variant to the corresponding Byte value.
Converts a `Permissions` variant to the corresponding Byte value.
Converts a ` Permissions ` variant to the corresponding Byte value .
pub fn as_u8(&self) -> u8 {
        match *self {
            Permissions::User => 0x00,
            Permissions::Admin => 0x01,
        }
    }
pub fn as_u8 ( & self ) -> u8 { match * self { Permissions :: User => 0x00 , Permissions :: Admin => 0x01 , } }
Converts a `Permissions` variant to the corresponding Byte value.
Converts a ` Permissions ` variant to the corresponding Byte value .
&self
&self