Struct bollard::auth::DockerCredentials [−][src]
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
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for DockerCredentials
impl Send for DockerCredentials
impl Sync for DockerCredentials
impl Unpin for DockerCredentials
impl UnwindSafe for DockerCredentials
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