#[non_exhaustive]pub struct DeleteContainerImageInput {
pub service_name: Option<String>,
pub image: Option<String>,
}
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.service_name: Option<String>
The name of the container service for which to delete a registered container image.
image: Option<String>
The name of the container image to delete from the container service.
Use the GetContainerImages
action to get the name of the container images that are registered to a container service.
Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:
). For example, :container-service-1.mystaticwebsite.1
. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest
or nginx
.
Implementations§
source§impl DeleteContainerImageInput
impl DeleteContainerImageInput
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the container service for which to delete a registered container image.
sourcepub fn image(&self) -> Option<&str>
pub fn image(&self) -> Option<&str>
The name of the container image to delete from the container service.
Use the GetContainerImages
action to get the name of the container images that are registered to a container service.
Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:
). For example, :container-service-1.mystaticwebsite.1
. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest
or nginx
.
source§impl DeleteContainerImageInput
impl DeleteContainerImageInput
sourcepub fn builder() -> DeleteContainerImageInputBuilder
pub fn builder() -> DeleteContainerImageInputBuilder
Creates a new builder-style object to manufacture DeleteContainerImageInput
.
Trait Implementations§
source§impl Clone for DeleteContainerImageInput
impl Clone for DeleteContainerImageInput
source§fn clone(&self) -> DeleteContainerImageInput
fn clone(&self) -> DeleteContainerImageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteContainerImageInput
impl Debug for DeleteContainerImageInput
source§impl PartialEq for DeleteContainerImageInput
impl PartialEq for DeleteContainerImageInput
source§fn eq(&self, other: &DeleteContainerImageInput) -> bool
fn eq(&self, other: &DeleteContainerImageInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteContainerImageInput
Auto Trait Implementations§
impl Freeze for DeleteContainerImageInput
impl RefUnwindSafe for DeleteContainerImageInput
impl Send for DeleteContainerImageInput
impl Sync for DeleteContainerImageInput
impl Unpin for DeleteContainerImageInput
impl UnwindSafe for DeleteContainerImageInput
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