Struct aws_sdk_ecr::types::PullThroughCacheRule
source · #[non_exhaustive]pub struct PullThroughCacheRule {
pub ecr_repository_prefix: Option<String>,
pub upstream_registry_url: Option<String>,
pub created_at: Option<DateTime>,
pub registry_id: Option<String>,
pub credential_arn: Option<String>,
pub upstream_registry: Option<UpstreamRegistry>,
pub updated_at: Option<DateTime>,
}
Expand description
The details of a pull through cache rule.
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.ecr_repository_prefix: Option<String>
The Amazon ECR repository prefix associated with the pull through cache rule.
upstream_registry_url: Option<String>
The upstream registry URL associated with the pull through cache rule.
created_at: Option<DateTime>
The date and time the pull through cache was created.
registry_id: Option<String>
The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.
credential_arn: Option<String>
The ARN of the Secrets Manager secret associated with the pull through cache rule.
upstream_registry: Option<UpstreamRegistry>
The name of the upstream source registry associated with the pull through cache rule.
updated_at: Option<DateTime>
The date and time, in JavaScript date format, when the pull through cache rule was last updated.
Implementations§
source§impl PullThroughCacheRule
impl PullThroughCacheRule
sourcepub fn ecr_repository_prefix(&self) -> Option<&str>
pub fn ecr_repository_prefix(&self) -> Option<&str>
The Amazon ECR repository prefix associated with the pull through cache rule.
sourcepub fn upstream_registry_url(&self) -> Option<&str>
pub fn upstream_registry_url(&self) -> Option<&str>
The upstream registry URL associated with the pull through cache rule.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time the pull through cache was created.
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.
sourcepub fn credential_arn(&self) -> Option<&str>
pub fn credential_arn(&self) -> Option<&str>
The ARN of the Secrets Manager secret associated with the pull through cache rule.
sourcepub fn upstream_registry(&self) -> Option<&UpstreamRegistry>
pub fn upstream_registry(&self) -> Option<&UpstreamRegistry>
The name of the upstream source registry associated with the pull through cache rule.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time, in JavaScript date format, when the pull through cache rule was last updated.
source§impl PullThroughCacheRule
impl PullThroughCacheRule
sourcepub fn builder() -> PullThroughCacheRuleBuilder
pub fn builder() -> PullThroughCacheRuleBuilder
Creates a new builder-style object to manufacture PullThroughCacheRule
.
Trait Implementations§
source§impl Clone for PullThroughCacheRule
impl Clone for PullThroughCacheRule
source§fn clone(&self) -> PullThroughCacheRule
fn clone(&self) -> PullThroughCacheRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PullThroughCacheRule
impl Debug for PullThroughCacheRule
source§impl PartialEq for PullThroughCacheRule
impl PartialEq for PullThroughCacheRule
source§fn eq(&self, other: &PullThroughCacheRule) -> bool
fn eq(&self, other: &PullThroughCacheRule) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PullThroughCacheRule
Auto Trait Implementations§
impl Freeze for PullThroughCacheRule
impl RefUnwindSafe for PullThroughCacheRule
impl Send for PullThroughCacheRule
impl Sync for PullThroughCacheRule
impl Unpin for PullThroughCacheRule
impl UnwindSafe for PullThroughCacheRule
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