Struct aws_sdk_ecr::types::ReplicationRule
source · #[non_exhaustive]pub struct ReplicationRule {
pub destinations: Vec<ReplicationDestination>,
pub repository_filters: Option<Vec<RepositoryFilter>>,
}
Expand description
An array of objects representing the replication destinations and repository filters for a replication configuration.
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.destinations: Vec<ReplicationDestination>
An array of objects representing the destination for a replication rule.
repository_filters: Option<Vec<RepositoryFilter>>
An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
Implementations§
source§impl ReplicationRule
impl ReplicationRule
sourcepub fn destinations(&self) -> &[ReplicationDestination]
pub fn destinations(&self) -> &[ReplicationDestination]
An array of objects representing the destination for a replication rule.
sourcepub fn repository_filters(&self) -> &[RepositoryFilter]
pub fn repository_filters(&self) -> &[RepositoryFilter]
An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .repository_filters.is_none()
.
source§impl ReplicationRule
impl ReplicationRule
sourcepub fn builder() -> ReplicationRuleBuilder
pub fn builder() -> ReplicationRuleBuilder
Creates a new builder-style object to manufacture ReplicationRule
.
Trait Implementations§
source§impl Clone for ReplicationRule
impl Clone for ReplicationRule
source§fn clone(&self) -> ReplicationRule
fn clone(&self) -> ReplicationRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationRule
impl Debug for ReplicationRule
source§impl PartialEq for ReplicationRule
impl PartialEq for ReplicationRule
source§fn eq(&self, other: &ReplicationRule) -> bool
fn eq(&self, other: &ReplicationRule) -> bool
self
and other
values to be equal, and is used
by ==
.