Enum docker_sdk::image::RegistryAuth
source · pub enum RegistryAuth {
Password {
username: String,
password: String,
email: Option<String>,
server_address: Option<String>,
},
Token {
identity_token: String,
},
}
Variants
Password
Token
Fields
identity_token: String
Implementations
sourceimpl RegistryAuth
impl RegistryAuth
Trait Implementations
sourceimpl Clone for RegistryAuth
impl Clone for RegistryAuth
sourcefn clone(&self) -> RegistryAuth
fn clone(&self) -> RegistryAuth
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RegistryAuth
impl Debug for RegistryAuth
sourceimpl Serialize for RegistryAuth
impl Serialize for RegistryAuth
Auto Trait Implementations
impl RefUnwindSafe for RegistryAuth
impl Send for RegistryAuth
impl Sync for RegistryAuth
impl Unpin for RegistryAuth
impl UnwindSafe for RegistryAuth
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more