Enum docker_api::opts::RegistryAuth
source · pub enum RegistryAuth {
Password {
username: String,
password: String,
email: Option<String>,
server_address: Option<String>,
},
Token {
identity_token: String,
},
}
Variants§
Implementations§
source§impl RegistryAuth
impl RegistryAuth
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 more