#[non_exhaustive]pub struct TrustedAdvisorCheckRefreshStatus {
pub check_id: Option<String>,
pub status: Option<String>,
pub millis_until_next_refreshable: i64,
}
Expand description
The refresh status of a Trusted Advisor check.
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.check_id: Option<String>
The unique identifier for the Trusted Advisor check.
status: Option<String>
The status of the Trusted Advisor check for which a refresh has been requested:
-
none
- The check is not refreshed or the non-success status exceeds the timeout -
enqueued
- The check refresh requests has entered the refresh queue -
processing
- The check refresh request is picked up by the rule processing engine -
success
- The check is successfully refreshed -
abandoned
- The check refresh has failed
millis_until_next_refreshable: i64
The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
Implementations
sourceimpl TrustedAdvisorCheckRefreshStatus
impl TrustedAdvisorCheckRefreshStatus
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the Trusted Advisor check for which a refresh has been requested:
-
none
- The check is not refreshed or the non-success status exceeds the timeout -
enqueued
- The check refresh requests has entered the refresh queue -
processing
- The check refresh request is picked up by the rule processing engine -
success
- The check is successfully refreshed -
abandoned
- The check refresh has failed
sourcepub fn millis_until_next_refreshable(&self) -> i64
pub fn millis_until_next_refreshable(&self) -> i64
The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
sourceimpl TrustedAdvisorCheckRefreshStatus
impl TrustedAdvisorCheckRefreshStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TrustedAdvisorCheckRefreshStatus
.
Trait Implementations
sourceimpl Clone for TrustedAdvisorCheckRefreshStatus
impl Clone for TrustedAdvisorCheckRefreshStatus
sourcefn clone(&self) -> TrustedAdvisorCheckRefreshStatus
fn clone(&self) -> TrustedAdvisorCheckRefreshStatus
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 PartialEq<TrustedAdvisorCheckRefreshStatus> for TrustedAdvisorCheckRefreshStatus
impl PartialEq<TrustedAdvisorCheckRefreshStatus> for TrustedAdvisorCheckRefreshStatus
sourcefn eq(&self, other: &TrustedAdvisorCheckRefreshStatus) -> bool
fn eq(&self, other: &TrustedAdvisorCheckRefreshStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TrustedAdvisorCheckRefreshStatus) -> bool
fn ne(&self, other: &TrustedAdvisorCheckRefreshStatus) -> bool
This method tests for !=
.
impl StructuralPartialEq for TrustedAdvisorCheckRefreshStatus
Auto Trait Implementations
impl RefUnwindSafe for TrustedAdvisorCheckRefreshStatus
impl Send for TrustedAdvisorCheckRefreshStatus
impl Sync for TrustedAdvisorCheckRefreshStatus
impl Unpin for TrustedAdvisorCheckRefreshStatus
impl UnwindSafe for TrustedAdvisorCheckRefreshStatus
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> 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