Struct aws_sdk_iot::model::ScheduledAuditMetadata
source · [−]#[non_exhaustive]pub struct ScheduledAuditMetadata {
pub scheduled_audit_name: Option<String>,
pub scheduled_audit_arn: Option<String>,
pub frequency: Option<AuditFrequency>,
pub day_of_month: Option<String>,
pub day_of_week: Option<DayOfWeek>,
}
Expand description
Information about the scheduled audit.
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.scheduled_audit_name: Option<String>
The name of the scheduled audit.
scheduled_audit_arn: Option<String>
The ARN of the scheduled audit.
frequency: Option<AuditFrequency>
How often the scheduled audit occurs.
day_of_month: Option<String>
The day of the month on which the scheduled audit is run (if the frequency
is "MONTHLY"). If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
day_of_week: Option<DayOfWeek>
The day of the week on which the scheduled audit is run (if the frequency
is "WEEKLY" or "BIWEEKLY").
Implementations
sourceimpl ScheduledAuditMetadata
impl ScheduledAuditMetadata
sourcepub fn scheduled_audit_name(&self) -> Option<&str>
pub fn scheduled_audit_name(&self) -> Option<&str>
The name of the scheduled audit.
sourcepub fn scheduled_audit_arn(&self) -> Option<&str>
pub fn scheduled_audit_arn(&self) -> Option<&str>
The ARN of the scheduled audit.
sourcepub fn frequency(&self) -> Option<&AuditFrequency>
pub fn frequency(&self) -> Option<&AuditFrequency>
How often the scheduled audit occurs.
sourcepub fn day_of_month(&self) -> Option<&str>
pub fn day_of_month(&self) -> Option<&str>
The day of the month on which the scheduled audit is run (if the frequency
is "MONTHLY"). If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
sourcepub fn day_of_week(&self) -> Option<&DayOfWeek>
pub fn day_of_week(&self) -> Option<&DayOfWeek>
The day of the week on which the scheduled audit is run (if the frequency
is "WEEKLY" or "BIWEEKLY").
sourceimpl ScheduledAuditMetadata
impl ScheduledAuditMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ScheduledAuditMetadata
Trait Implementations
sourceimpl Clone for ScheduledAuditMetadata
impl Clone for ScheduledAuditMetadata
sourcefn clone(&self) -> ScheduledAuditMetadata
fn clone(&self) -> ScheduledAuditMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ScheduledAuditMetadata
impl Debug for ScheduledAuditMetadata
sourceimpl PartialEq<ScheduledAuditMetadata> for ScheduledAuditMetadata
impl PartialEq<ScheduledAuditMetadata> for ScheduledAuditMetadata
sourcefn eq(&self, other: &ScheduledAuditMetadata) -> bool
fn eq(&self, other: &ScheduledAuditMetadata) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ScheduledAuditMetadata) -> bool
fn ne(&self, other: &ScheduledAuditMetadata) -> bool
This method tests for !=
.
impl StructuralPartialEq for ScheduledAuditMetadata
Auto Trait Implementations
impl RefUnwindSafe for ScheduledAuditMetadata
impl Send for ScheduledAuditMetadata
impl Sync for ScheduledAuditMetadata
impl Unpin for ScheduledAuditMetadata
impl UnwindSafe for ScheduledAuditMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more