pub enum LibraryRole {
Admin,
Read,
Write,
None,
}Variants§
Trait Implementations§
Source§impl Clone for LibraryRole
impl Clone for LibraryRole
Source§impl Debug for LibraryRole
impl Debug for LibraryRole
Source§impl Default for LibraryRole
impl Default for LibraryRole
Source§impl<'de> Deserialize<'de> for LibraryRole
impl<'de> Deserialize<'de> for LibraryRole
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 LibraryRole
impl Display for LibraryRole
Source§impl From<&LibraryRole> for u8
impl From<&LibraryRole> for u8
Source§fn from(role: &LibraryRole) -> Self
fn from(role: &LibraryRole) -> Self
Converts to this type from the input type.
Source§impl From<u8> for &LibraryRole
impl From<u8> for &LibraryRole
Source§impl FromStr for LibraryRole
impl FromStr for LibraryRole
Source§impl PartialEq for LibraryRole
impl PartialEq for LibraryRole
Source§impl PartialOrd for LibraryRole
impl PartialOrd for LibraryRole
Source§impl Serialize for LibraryRole
impl Serialize for LibraryRole
impl StructuralPartialEq for LibraryRole
Auto Trait Implementations§
impl Forget for LibraryRole
impl Freeze for LibraryRole
impl Move for LibraryRole
impl RefUnwindSafe for LibraryRole
impl Send for LibraryRole
impl Sync for LibraryRole
impl Unpin for LibraryRole
impl UnsafeUnpin for LibraryRole
impl UnwindSafe for LibraryRole
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more