Enum cloudformatious::StatusSentiment[][src]

pub enum StatusSentiment {
    Positive,
    Neutral,
    Negative,
}

An indication of whether a status is positive, negative, or neutral for the affected resource.

Variants

Positive
Neutral
Negative

Implementations

impl StatusSentiment[src]

#[must_use]
pub fn is_positive(self) -> bool
[src]

Is the sentiment positive?

#[must_use]
pub fn is_neutral(self) -> bool
[src]

Is the sentiment neutral?

#[must_use]
pub fn is_negative(self) -> bool
[src]

Is the sentiment negative?

Trait Implementations

impl Clone for StatusSentiment[src]

impl Copy for StatusSentiment[src]

impl Debug for StatusSentiment[src]

impl Eq for StatusSentiment[src]

impl PartialEq<StatusSentiment> for StatusSentiment[src]

impl StructuralEq for StatusSentiment[src]

impl StructuralPartialEq for StatusSentiment[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.