Enum azure_mgmt_resourcehealth::package_preview_2022_05_01::models::availability_status::properties::ReasonChronicity
source · pub enum ReasonChronicity {
Transient,
Persistent,
UnknownValue(String),
}
Expand description
Chronicity of the availability transition.
Variants§
Implementations§
source§impl ReasonChronicity
impl ReasonChronicity
pub fn serialize<__S>(
__self: &ReasonChronicity,
__serializer: __S
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
source§impl<'de> ReasonChronicity
impl<'de> ReasonChronicity
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ReasonChronicity, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for ReasonChronicity
impl Clone for ReasonChronicity
source§fn clone(&self) -> ReasonChronicity
fn clone(&self) -> ReasonChronicity
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 ReasonChronicity
impl Debug for ReasonChronicity
source§impl<'de> Deserialize<'de> for ReasonChronicity
impl<'de> Deserialize<'de> for ReasonChronicity
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 ReasonChronicity
impl FromStr for ReasonChronicity
source§impl PartialEq for ReasonChronicity
impl PartialEq for ReasonChronicity
source§fn eq(&self, other: &ReasonChronicity) -> bool
fn eq(&self, other: &ReasonChronicity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReasonChronicity
impl Serialize for ReasonChronicity
impl StructuralPartialEq for ReasonChronicity
Auto Trait Implementations§
impl Freeze for ReasonChronicity
impl RefUnwindSafe for ReasonChronicity
impl Send for ReasonChronicity
impl Sync for ReasonChronicity
impl Unpin for ReasonChronicity
impl UnwindSafe for ReasonChronicity
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