pub enum ViewerSubject {
User(UserId),
Group(GroupId),
Model(ModelId),
}Variants§
Trait Implementations§
Source§impl Clone for ViewerSubject
impl Clone for ViewerSubject
Source§fn clone(&self) -> ViewerSubject
fn clone(&self) -> ViewerSubject
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 ViewerSubject
Source§impl Debug for ViewerSubject
impl Debug for ViewerSubject
impl Eq for ViewerSubject
Source§impl Hash for ViewerSubject
impl Hash for ViewerSubject
Source§impl Ord for ViewerSubject
impl Ord for ViewerSubject
Source§fn cmp(&self, other: &ViewerSubject) -> Ordering
fn cmp(&self, other: &ViewerSubject) -> 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 ViewerSubject
impl PartialEq for ViewerSubject
Source§impl PartialOrd for ViewerSubject
impl PartialOrd for ViewerSubject
impl StructuralPartialEq for ViewerSubject
Auto Trait Implementations§
impl Freeze for ViewerSubject
impl RefUnwindSafe for ViewerSubject
impl Send for ViewerSubject
impl Sync for ViewerSubject
impl Unpin for ViewerSubject
impl UnsafeUnpin for ViewerSubject
impl UnwindSafe for ViewerSubject
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