Enum cloudformatious::StatusSentiment
source · pub enum StatusSentiment {
Positive,
Neutral,
Negative,
}Expand description
An indication of whether a status is positive, negative, or neutral for the affected resource.
Variants§
Implementations§
source§impl StatusSentiment
impl StatusSentiment
sourcepub fn is_positive(self) -> bool
pub fn is_positive(self) -> bool
Is the sentiment positive?
sourcepub fn is_neutral(self) -> bool
pub fn is_neutral(self) -> bool
Is the sentiment neutral?
sourcepub fn is_negative(self) -> bool
pub fn is_negative(self) -> bool
Is the sentiment negative?
Trait Implementations§
source§impl Clone for StatusSentiment
impl Clone for StatusSentiment
source§fn clone(&self) -> StatusSentiment
fn clone(&self) -> StatusSentiment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StatusSentiment
impl Debug for StatusSentiment
source§impl PartialEq<StatusSentiment> for StatusSentiment
impl PartialEq<StatusSentiment> for StatusSentiment
source§fn eq(&self, other: &StatusSentiment) -> bool
fn eq(&self, other: &StatusSentiment) -> bool
impl Copy for StatusSentiment
impl Eq for StatusSentiment
impl StructuralEq for StatusSentiment
impl StructuralPartialEq for StatusSentiment
Auto Trait Implementations§
impl RefUnwindSafe for StatusSentiment
impl Send for StatusSentiment
impl Sync for StatusSentiment
impl Unpin for StatusSentiment
impl UnwindSafe for StatusSentiment
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.