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