Struct aws_sdk_ecrpublic::model::AuthorizationData
source · [−]#[non_exhaustive]pub struct AuthorizationData {
pub authorization_token: Option<String>,
pub expires_at: Option<DateTime>,
}Expand description
An authorization token data object that corresponds to a public registry.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it is presented in the format user:password for public registry authentication using docker login.
expires_at: Option<DateTime>The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
Implementations
A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it is presented in the format user:password for public registry authentication using docker login.
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
Creates a new builder-style object to manufacture AuthorizationData
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for AuthorizationData
impl Send for AuthorizationData
impl Sync for AuthorizationData
impl Unpin for AuthorizationData
impl UnwindSafe for AuthorizationData
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