Struct aws_sdk_ecr::types::RegistryScanningRule
source · #[non_exhaustive]pub struct RegistryScanningRule {
pub scan_frequency: ScanFrequency,
pub repository_filters: Vec<ScanningRepositoryFilter>,
}
Expand description
The details of a scanning rule for a private registry.
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.scan_frequency: ScanFrequency
The frequency that scans are performed at for a private registry. When the ENHANCED
scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN
and SCAN_ON_PUSH
. When the BASIC
scan type is specified, the SCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then the MANUAL
scan frequency is set by default.
repository_filters: Vec<ScanningRepositoryFilter>
The repository filters associated with the scanning configuration for a private registry.
Implementations§
source§impl RegistryScanningRule
impl RegistryScanningRule
sourcepub fn scan_frequency(&self) -> &ScanFrequency
pub fn scan_frequency(&self) -> &ScanFrequency
The frequency that scans are performed at for a private registry. When the ENHANCED
scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN
and SCAN_ON_PUSH
. When the BASIC
scan type is specified, the SCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then the MANUAL
scan frequency is set by default.
sourcepub fn repository_filters(&self) -> &[ScanningRepositoryFilter]
pub fn repository_filters(&self) -> &[ScanningRepositoryFilter]
The repository filters associated with the scanning configuration for a private registry.
source§impl RegistryScanningRule
impl RegistryScanningRule
sourcepub fn builder() -> RegistryScanningRuleBuilder
pub fn builder() -> RegistryScanningRuleBuilder
Creates a new builder-style object to manufacture RegistryScanningRule
.
Trait Implementations§
source§impl Clone for RegistryScanningRule
impl Clone for RegistryScanningRule
source§fn clone(&self) -> RegistryScanningRule
fn clone(&self) -> RegistryScanningRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegistryScanningRule
impl Debug for RegistryScanningRule
source§impl PartialEq for RegistryScanningRule
impl PartialEq for RegistryScanningRule
source§fn eq(&self, other: &RegistryScanningRule) -> bool
fn eq(&self, other: &RegistryScanningRule) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegistryScanningRule
Auto Trait Implementations§
impl Freeze for RegistryScanningRule
impl RefUnwindSafe for RegistryScanningRule
impl Send for RegistryScanningRule
impl Sync for RegistryScanningRule
impl Unpin for RegistryScanningRule
impl UnwindSafe for RegistryScanningRule
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