pub enum OwnerLevel {
Maintainer,
Full,
}Expand description
See: https://github.com/hexpm/hex/blob/main/lib/mix/tasks/hex.owner.ex#L47
Variants§
Maintainer
Has every package permission EXCEPT the ability to change who owns the package
Full
Has every package permission including the ability to change who owns the package
Trait Implementations§
Source§impl Clone for OwnerLevel
impl Clone for OwnerLevel
Source§fn clone(&self) -> OwnerLevel
fn clone(&self) -> OwnerLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OwnerLevel
impl Debug for OwnerLevel
Source§impl Display for OwnerLevel
impl Display for OwnerLevel
Source§impl Ord for OwnerLevel
impl Ord for OwnerLevel
Source§fn cmp(&self, other: &OwnerLevel) -> Ordering
fn cmp(&self, other: &OwnerLevel) -> Ordering
1.21.0 · 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
Source§impl PartialEq for OwnerLevel
impl PartialEq for OwnerLevel
Source§impl PartialOrd for OwnerLevel
impl PartialOrd for OwnerLevel
impl Copy for OwnerLevel
impl Eq for OwnerLevel
impl StructuralPartialEq for OwnerLevel
Auto Trait Implementations§
impl Freeze for OwnerLevel
impl RefUnwindSafe for OwnerLevel
impl Send for OwnerLevel
impl Sync for OwnerLevel
impl Unpin for OwnerLevel
impl UnwindSafe for OwnerLevel
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.