pub struct RegisterContainerImageRequest {
pub digest: String,
pub label: String,
pub service_name: String,
}
Fields
digest: String
The digest of the container image to be registered.
label: String
The label for the container image when it's registered to the container service.
Use a descriptive label that you can use to track the different versions of your registered container images.
Use the GetContainerImages
action to return the container images registered to a Lightsail container service. The label is the <imagelabel>
portion of the following image name example:
-
:container-service-1.<imagelabel>.1
If the name of your container service is mycontainerservice
, and the label that you specify is mystaticwebsite
, then the name of the registered container image will be :mycontainerservice.mystaticwebsite.1
.
The number at the end of these image name examples represents the version of the registered container image. If you push and register another container image to the same Lightsail container service, with the same label, then the version number for the new registered container image will be 2
. If you push and register another container image, the version number will be 3
, and so on.
service_name: String
The name of the container service for which to register a container image.
Trait Implementations
sourceimpl Clone for RegisterContainerImageRequest
impl Clone for RegisterContainerImageRequest
sourcefn clone(&self) -> RegisterContainerImageRequest
fn clone(&self) -> RegisterContainerImageRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RegisterContainerImageRequest
impl Debug for RegisterContainerImageRequest
sourceimpl Default for RegisterContainerImageRequest
impl Default for RegisterContainerImageRequest
sourcefn default() -> RegisterContainerImageRequest
fn default() -> RegisterContainerImageRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<RegisterContainerImageRequest> for RegisterContainerImageRequest
impl PartialEq<RegisterContainerImageRequest> for RegisterContainerImageRequest
sourcefn eq(&self, other: &RegisterContainerImageRequest) -> bool
fn eq(&self, other: &RegisterContainerImageRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RegisterContainerImageRequest) -> bool
fn ne(&self, other: &RegisterContainerImageRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for RegisterContainerImageRequest
Auto Trait Implementations
impl RefUnwindSafe for RegisterContainerImageRequest
impl Send for RegisterContainerImageRequest
impl Sync for RegisterContainerImageRequest
impl Unpin for RegisterContainerImageRequest
impl UnwindSafe for RegisterContainerImageRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more