pub struct RegistryCredentials {
pub address: String,
pub username: String,
pub password: Secret<String>,
}Expand description
Represents credentials to a custom remote Docker Registry.
Fields§
§address: StringThe domain (without the protocol) of the registry.
username: StringUsername of the credentials against the registry.
password: Secret<String>Password of the credentials against the registry.
Implementations§
Source§impl RegistryCredentials
impl RegistryCredentials
Sourcepub fn new(
address: String,
username: String,
password: Secret<String>,
) -> RegistryCredentials
pub fn new( address: String, username: String, password: Secret<String>, ) -> RegistryCredentials
Creates a new RegistryCredentials
Trait Implementations§
Source§impl Clone for RegistryCredentials
impl Clone for RegistryCredentials
Source§fn clone(&self) -> RegistryCredentials
fn clone(&self) -> RegistryCredentials
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RegistryCredentials
impl RefUnwindSafe for RegistryCredentials
impl Send for RegistryCredentials
impl Sync for RegistryCredentials
impl Unpin for RegistryCredentials
impl UnwindSafe for RegistryCredentials
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