pub enum RegistryOperation {
Push,
Pull,
}
Expand description
Desired operation for registry authentication
Variants§
Trait Implementations§
source§impl Clone for RegistryOperation
impl Clone for RegistryOperation
source§fn clone(&self) -> RegistryOperation
fn clone(&self) -> RegistryOperation
Returns a copy 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 RegistryOperation
impl Debug for RegistryOperation
source§impl Ord for RegistryOperation
impl Ord for RegistryOperation
source§fn cmp(&self, other: &RegistryOperation) -> Ordering
fn cmp(&self, other: &RegistryOperation) -> 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 RegistryOperation
impl PartialEq for RegistryOperation
source§fn eq(&self, other: &RegistryOperation) -> bool
fn eq(&self, other: &RegistryOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RegistryOperation
impl PartialOrd for RegistryOperation
source§fn partial_cmp(&self, other: &RegistryOperation) -> Option<Ordering>
fn partial_cmp(&self, other: &RegistryOperation) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RegistryOperation
impl Eq for RegistryOperation
impl StructuralPartialEq for RegistryOperation
Auto Trait Implementations§
impl Freeze for RegistryOperation
impl RefUnwindSafe for RegistryOperation
impl Send for RegistryOperation
impl Sync for RegistryOperation
impl Unpin for RegistryOperation
impl UnwindSafe for RegistryOperation
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