[][src]Struct rusoto_lightsail::TestAlarmRequest

pub struct TestAlarmRequest {
    pub alarm_name: String,
    pub state: String,
}

Fields

alarm_name: String

The name of the alarm to test.

state: String

The alarm state to test.

An alarm has the following possible states that can be tested:

  • ALARM - The metric is outside of the defined threshold.

  • INSUFFICIENT_DATA - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state.

  • OK - The metric is within the defined threshold.

Trait Implementations

impl Clone for TestAlarmRequest[src]

impl Debug for TestAlarmRequest[src]

impl Default for TestAlarmRequest[src]

impl PartialEq<TestAlarmRequest> for TestAlarmRequest[src]

impl Serialize for TestAlarmRequest[src]

impl StructuralPartialEq for TestAlarmRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.