Enum docker_api::api::image::opts::RegistryAuth [−][src]
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
Trait Implementations
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more