Struct dockertest::RegistryCredentials
source · 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: String
The domain (without the protocol) of the registry.
username: String
Username 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 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)