Enum oci_client::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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.