#[non_exhaustive]pub struct AwsEcrRepositoryDetails {
pub arn: Option<String>,
pub image_scanning_configuration: Option<AwsEcrRepositoryImageScanningConfigurationDetails>,
pub image_tag_mutability: Option<String>,
pub lifecycle_policy: Option<AwsEcrRepositoryLifecyclePolicyDetails>,
pub repository_name: Option<String>,
pub repository_policy_text: Option<String>,
}
Expand description
Provides information about an Amazon Elastic Container Registry repository.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The ARN of the repository.
image_scanning_configuration: Option<AwsEcrRepositoryImageScanningConfigurationDetails>
The image scanning configuration for a repository.
image_tag_mutability: Option<String>
The tag mutability setting for the repository. Valid values are IMMUTABLE
or MUTABLE
.
lifecycle_policy: Option<AwsEcrRepositoryLifecyclePolicyDetails>
Information about the lifecycle policy for the repository.
repository_name: Option<String>
The name of the repository.
repository_policy_text: Option<String>
The text of the repository policy.
Implementations§
source§impl AwsEcrRepositoryDetails
impl AwsEcrRepositoryDetails
sourcepub fn image_scanning_configuration(
&self
) -> Option<&AwsEcrRepositoryImageScanningConfigurationDetails>
pub fn image_scanning_configuration( &self ) -> Option<&AwsEcrRepositoryImageScanningConfigurationDetails>
The image scanning configuration for a repository.
sourcepub fn image_tag_mutability(&self) -> Option<&str>
pub fn image_tag_mutability(&self) -> Option<&str>
The tag mutability setting for the repository. Valid values are IMMUTABLE
or MUTABLE
.
sourcepub fn lifecycle_policy(
&self
) -> Option<&AwsEcrRepositoryLifecyclePolicyDetails>
pub fn lifecycle_policy( &self ) -> Option<&AwsEcrRepositoryLifecyclePolicyDetails>
Information about the lifecycle policy for the repository.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository.
sourcepub fn repository_policy_text(&self) -> Option<&str>
pub fn repository_policy_text(&self) -> Option<&str>
The text of the repository policy.
source§impl AwsEcrRepositoryDetails
impl AwsEcrRepositoryDetails
sourcepub fn builder() -> AwsEcrRepositoryDetailsBuilder
pub fn builder() -> AwsEcrRepositoryDetailsBuilder
Creates a new builder-style object to manufacture AwsEcrRepositoryDetails
.
Trait Implementations§
source§impl Clone for AwsEcrRepositoryDetails
impl Clone for AwsEcrRepositoryDetails
source§fn clone(&self) -> AwsEcrRepositoryDetails
fn clone(&self) -> AwsEcrRepositoryDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AwsEcrRepositoryDetails
impl Debug for AwsEcrRepositoryDetails
source§impl PartialEq for AwsEcrRepositoryDetails
impl PartialEq for AwsEcrRepositoryDetails
source§fn eq(&self, other: &AwsEcrRepositoryDetails) -> bool
fn eq(&self, other: &AwsEcrRepositoryDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcrRepositoryDetails
Auto Trait Implementations§
impl RefUnwindSafe for AwsEcrRepositoryDetails
impl Send for AwsEcrRepositoryDetails
impl Sync for AwsEcrRepositoryDetails
impl Unpin for AwsEcrRepositoryDetails
impl UnwindSafe for AwsEcrRepositoryDetails
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
Mutably borrows from an owned value. Read more