Struct aws_sdk_synthetics::model::CanaryStatus
source · [−]#[non_exhaustive]pub struct CanaryStatus {
pub state: Option<CanaryState>,
pub state_reason: Option<String>,
pub state_reason_code: Option<CanaryStateReasonCode>,
}Expand description
A structure that contains the current state of the canary.
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.state: Option<CanaryState>The current state of the canary.
state_reason: Option<String>If the canary has insufficient permissions to run, this field provides more details.
state_reason_code: Option<CanaryStateReasonCode>If the canary cannot run or has failed, this field displays the reason.
Implementations
The current state of the canary.
If the canary has insufficient permissions to run, this field provides more details.
If the canary cannot run or has failed, this field displays the reason.
Creates a new builder-style object to manufacture CanaryStatus
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CanaryStatus
impl Send for CanaryStatus
impl Sync for CanaryStatus
impl Unpin for CanaryStatus
impl UnwindSafe for CanaryStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more