pub enum OwnerSubject {
User(UserId),
Group(GroupId),
}Variants§
Trait Implementations§
Source§impl Clone for OwnerSubject
impl Clone for OwnerSubject
Source§fn clone(&self) -> OwnerSubject
fn clone(&self) -> OwnerSubject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OwnerSubject
Source§impl Debug for OwnerSubject
impl Debug for OwnerSubject
impl Eq for OwnerSubject
Source§impl Hash for OwnerSubject
impl Hash for OwnerSubject
Source§impl Ord for OwnerSubject
impl Ord for OwnerSubject
Source§fn cmp(&self, other: &OwnerSubject) -> Ordering
fn cmp(&self, other: &OwnerSubject) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for OwnerSubject
impl PartialEq for OwnerSubject
Source§impl PartialOrd for OwnerSubject
impl PartialOrd for OwnerSubject
impl StructuralPartialEq for OwnerSubject
Auto Trait Implementations§
impl Freeze for OwnerSubject
impl RefUnwindSafe for OwnerSubject
impl Send for OwnerSubject
impl Sync for OwnerSubject
impl Unpin for OwnerSubject
impl UnsafeUnpin for OwnerSubject
impl UnwindSafe for OwnerSubject
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