#[non_exhaustive]pub struct RepositoryScanningConfiguration {
    pub repository_arn: Option<String>,
    pub repository_name: Option<String>,
    pub scan_on_push: bool,
    pub scan_frequency: Option<ScanFrequency>,
    pub applied_scan_filters: Option<Vec<ScanningRepositoryFilter>>,
}Expand description
The details of the scanning configuration for a 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.repository_arn: Option<String>The ARN of the repository.
repository_name: Option<String>The name of the repository.
scan_on_push: boolWhether or not scan on push is configured for the repository.
scan_frequency: Option<ScanFrequency>The scan frequency for the repository.
applied_scan_filters: Option<Vec<ScanningRepositoryFilter>>The scan filters applied to the repository.
Implementations§
source§impl RepositoryScanningConfiguration
 
impl RepositoryScanningConfiguration
sourcepub fn repository_arn(&self) -> Option<&str>
 
pub fn repository_arn(&self) -> Option<&str>
The ARN of the repository.
sourcepub fn repository_name(&self) -> Option<&str>
 
pub fn repository_name(&self) -> Option<&str>
The name of the repository.
sourcepub fn scan_on_push(&self) -> bool
 
pub fn scan_on_push(&self) -> bool
Whether or not scan on push is configured for the repository.
sourcepub fn scan_frequency(&self) -> Option<&ScanFrequency>
 
pub fn scan_frequency(&self) -> Option<&ScanFrequency>
The scan frequency for the repository.
sourcepub fn applied_scan_filters(&self) -> &[ScanningRepositoryFilter]
 
pub fn applied_scan_filters(&self) -> &[ScanningRepositoryFilter]
The scan filters applied to the repository.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .applied_scan_filters.is_none().
source§impl RepositoryScanningConfiguration
 
impl RepositoryScanningConfiguration
sourcepub fn builder() -> RepositoryScanningConfigurationBuilder
 
pub fn builder() -> RepositoryScanningConfigurationBuilder
Creates a new builder-style object to manufacture RepositoryScanningConfiguration.
Trait Implementations§
source§impl Clone for RepositoryScanningConfiguration
 
impl Clone for RepositoryScanningConfiguration
source§fn clone(&self) -> RepositoryScanningConfiguration
 
fn clone(&self) -> RepositoryScanningConfiguration
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 PartialEq for RepositoryScanningConfiguration
 
impl PartialEq for RepositoryScanningConfiguration
source§fn eq(&self, other: &RepositoryScanningConfiguration) -> bool
 
fn eq(&self, other: &RepositoryScanningConfiguration) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RepositoryScanningConfiguration
Auto Trait Implementations§
impl Freeze for RepositoryScanningConfiguration
impl RefUnwindSafe for RepositoryScanningConfiguration
impl Send for RepositoryScanningConfiguration
impl Sync for RepositoryScanningConfiguration
impl Unpin for RepositoryScanningConfiguration
impl UnwindSafe for RepositoryScanningConfiguration
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
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)
🔬This is a nightly-only experimental API. (
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>
Converts 
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>
Converts 
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 moreCreates a shared type from an unshared type.