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 moreSource§impl Debug for RegistryAuth
impl Debug 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