Enum azure_mgmt_resourcehealth::package_2020_05_01_preview::models::impacted_resource_status::properties::ReasonType
source · pub enum ReasonType {
Unplanned,
Planned,
UserInitiated,
UnknownValue(String),
}
Expand description
When the resource’s availabilityState is Unavailable, it describes where the health impacting event was originated.
Variants§
Implementations§
source§impl ReasonType
impl ReasonType
pub fn serialize<__S>( __self: &ReasonType, __serializer: __S ) -> Result<__S::Ok, __S::Error>where __S: Serializer,
source§impl<'de> ReasonType
impl<'de> ReasonType
pub fn deserialize<__D>(__deserializer: __D) -> Result<ReasonType, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for ReasonType
impl Clone for ReasonType
source§fn clone(&self) -> ReasonType
fn clone(&self) -> ReasonType
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 ReasonType
impl Debug for ReasonType
source§impl<'de> Deserialize<'de> for ReasonType
impl<'de> Deserialize<'de> for ReasonType
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for ReasonType
impl FromStr for ReasonType
source§impl PartialEq<ReasonType> for ReasonType
impl PartialEq<ReasonType> for ReasonType
source§fn eq(&self, other: &ReasonType) -> bool
fn eq(&self, other: &ReasonType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.