Enum azure_mgmt_resourcehealth::package_preview_2022_10::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 for ReasonType
impl PartialEq 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 ==
.source§impl Serialize for ReasonType
impl Serialize for ReasonType
impl StructuralPartialEq for ReasonType
Auto Trait Implementations§
impl Freeze for ReasonType
impl RefUnwindSafe for ReasonType
impl Send for ReasonType
impl Sync for ReasonType
impl Unpin for ReasonType
impl UnwindSafe for ReasonType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more