Struct bollard::auth::DockerCredentials
source · pub struct DockerCredentials {
pub username: Option<String>,
pub password: Option<String>,
pub auth: Option<String>,
pub email: Option<String>,
pub serveraddress: Option<String>,
pub identitytoken: Option<String>,
pub registrytoken: Option<String>,
}
Expand description
DockerCredentials credentials and server URI to push images using the Push Image API or the Build Image API.
Fields§
§username: Option<String>
§password: Option<String>
§auth: Option<String>
§email: Option<String>
§serveraddress: Option<String>
§identitytoken: Option<String>
§registrytoken: Option<String>
Trait Implementations§
source§impl Clone for DockerCredentials
impl Clone for DockerCredentials
source§fn clone(&self) -> DockerCredentials
fn clone(&self) -> DockerCredentials
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 DockerCredentials
impl Debug for DockerCredentials
source§impl Default for DockerCredentials
impl Default for DockerCredentials
source§fn default() -> DockerCredentials
fn default() -> DockerCredentials
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DockerCredentials
impl<'de> Deserialize<'de> for DockerCredentials
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for DockerCredentials
impl PartialEq for DockerCredentials
source§impl Serialize for DockerCredentials
impl Serialize for DockerCredentials
impl StructuralPartialEq for DockerCredentials
Auto Trait Implementations§
impl Freeze for DockerCredentials
impl RefUnwindSafe for DockerCredentials
impl Send for DockerCredentials
impl Sync for DockerCredentials
impl Unpin for DockerCredentials
impl UnwindSafe for DockerCredentials
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)