#[non_exhaustive]pub struct ContainerServiceRegistryLogin {
pub username: Option<String>,
pub password: Option<String>,
pub expires_at: Option<DateTime>,
pub registry: Option<String>,
}
Expand description
Describes the sign-in credentials for the container image registry of an Amazon Lightsail account.
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.username: Option<String>
The container service registry username to use to push container images to the container image registry of a Lightsail account.
password: Option<String>
The container service registry password to use to push container images to the container image registry of a Lightsail account
expires_at: Option<DateTime>
The timestamp of when the container image registry sign-in credentials expire.
The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials using the CreateContainerServiceRegistryLogin
action.
registry: Option<String>
The address to use to push container images to the container image registry of a Lightsail account.
Implementations§
source§impl ContainerServiceRegistryLogin
impl ContainerServiceRegistryLogin
sourcepub fn username(&self) -> Option<&str>
pub fn username(&self) -> Option<&str>
The container service registry username to use to push container images to the container image registry of a Lightsail account.
sourcepub fn password(&self) -> Option<&str>
pub fn password(&self) -> Option<&str>
The container service registry password to use to push container images to the container image registry of a Lightsail account
sourcepub fn expires_at(&self) -> Option<&DateTime>
pub fn expires_at(&self) -> Option<&DateTime>
The timestamp of when the container image registry sign-in credentials expire.
The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials using the CreateContainerServiceRegistryLogin
action.
source§impl ContainerServiceRegistryLogin
impl ContainerServiceRegistryLogin
sourcepub fn builder() -> ContainerServiceRegistryLoginBuilder
pub fn builder() -> ContainerServiceRegistryLoginBuilder
Creates a new builder-style object to manufacture ContainerServiceRegistryLogin
.
Trait Implementations§
source§impl Clone for ContainerServiceRegistryLogin
impl Clone for ContainerServiceRegistryLogin
source§fn clone(&self) -> ContainerServiceRegistryLogin
fn clone(&self) -> ContainerServiceRegistryLogin
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ContainerServiceRegistryLogin
impl PartialEq for ContainerServiceRegistryLogin
source§fn eq(&self, other: &ContainerServiceRegistryLogin) -> bool
fn eq(&self, other: &ContainerServiceRegistryLogin) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerServiceRegistryLogin
Auto Trait Implementations§
impl Freeze for ContainerServiceRegistryLogin
impl RefUnwindSafe for ContainerServiceRegistryLogin
impl Send for ContainerServiceRegistryLogin
impl Sync for ContainerServiceRegistryLogin
impl Unpin for ContainerServiceRegistryLogin
impl UnwindSafe for ContainerServiceRegistryLogin
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more