pub enum UserKind {
Local,
Portable,
Unknown,
}Expand description
Whose account a user is (spoolframe:playlist-sharing).
Variants§
Local
An account on this server: local:<uuid>.
Portable
A portable user granted access here: portable: and 64 hex
digits.
Unknown
One this build does not know.
Trait Implementations§
impl Copy for UserKind
Source§impl<'de> Deserialize<'de> for UserKind
impl<'de> Deserialize<'de> for UserKind
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
impl Eq for UserKind
impl StructuralPartialEq for UserKind
Auto Trait Implementations§
impl Forget for UserKind
impl Freeze for UserKind
impl Move for UserKind
impl RefUnwindSafe for UserKind
impl Send for UserKind
impl Sync for UserKind
impl Unpin for UserKind
impl UnsafeUnpin for UserKind
impl UnwindSafe for UserKind
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