Struct aws_sdk_apprunner::types::ImageRepository
source · #[non_exhaustive]pub struct ImageRepository {
pub image_identifier: String,
pub image_configuration: Option<ImageConfiguration>,
pub image_repository_type: ImageRepositoryType,
}
Expand description
Describes a source image repository.
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.image_identifier: String
The identifier of an image.
For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see Pulling an image in the Amazon ECR User Guide.
image_configuration: Option<ImageConfiguration>
Configuration for running the identified image.
image_repository_type: ImageRepositoryType
The type of the image repository. This reflects the repository provider and whether the repository is private or public.
Implementations§
source§impl ImageRepository
impl ImageRepository
sourcepub fn image_identifier(&self) -> &str
pub fn image_identifier(&self) -> &str
The identifier of an image.
For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see Pulling an image in the Amazon ECR User Guide.
sourcepub fn image_configuration(&self) -> Option<&ImageConfiguration>
pub fn image_configuration(&self) -> Option<&ImageConfiguration>
Configuration for running the identified image.
sourcepub fn image_repository_type(&self) -> &ImageRepositoryType
pub fn image_repository_type(&self) -> &ImageRepositoryType
The type of the image repository. This reflects the repository provider and whether the repository is private or public.
source§impl ImageRepository
impl ImageRepository
sourcepub fn builder() -> ImageRepositoryBuilder
pub fn builder() -> ImageRepositoryBuilder
Creates a new builder-style object to manufacture ImageRepository
.
Trait Implementations§
source§impl Clone for ImageRepository
impl Clone for ImageRepository
source§fn clone(&self) -> ImageRepository
fn clone(&self) -> ImageRepository
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageRepository
impl Debug for ImageRepository
source§impl PartialEq for ImageRepository
impl PartialEq for ImageRepository
impl StructuralPartialEq for ImageRepository
Auto Trait Implementations§
impl Freeze for ImageRepository
impl RefUnwindSafe for ImageRepository
impl Send for ImageRepository
impl Sync for ImageRepository
impl Unpin for ImageRepository
impl UnwindSafe for ImageRepository
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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