Enum oci_distribution::secrets::RegistryAuth
source · pub enum RegistryAuth {
Anonymous,
Basic(String, String),
}
Expand description
A method for authenticating to a registry
Variants§
Anonymous
Access the registry anonymously
Basic(String, String)
Access the registry using HTTP Basic authentication
Trait Implementations§
source§impl Clone for RegistryAuth
impl Clone for RegistryAuth
source§fn clone(&self) -> RegistryAuth
fn clone(&self) -> RegistryAuth
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 RegistryAuth
impl Debug for RegistryAuth
source§impl PartialEq for RegistryAuth
impl PartialEq for RegistryAuth
source§fn eq(&self, other: &RegistryAuth) -> bool
fn eq(&self, other: &RegistryAuth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RegistryAuth
impl StructuralPartialEq for RegistryAuth
Auto Trait Implementations§
impl Freeze for RegistryAuth
impl RefUnwindSafe for RegistryAuth
impl Send for RegistryAuth
impl Sync for RegistryAuth
impl Unpin for RegistryAuth
impl UnwindSafe for RegistryAuth
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