Enum azure_mgmt_resourcehealth::package_preview_2023_10::models::availability_status::properties::AvailabilityState
source · pub enum AvailabilityState {
Available,
Unavailable,
Degraded,
Unknown,
UnknownValue(String),
}
Expand description
Availability status of the resource. When it is null, this availabilityStatus object represents an availability impacting event
Variants§
Implementations§
source§impl AvailabilityState
impl AvailabilityState
pub fn serialize<__S>(
__self: &AvailabilityState,
__serializer: __S
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
source§impl<'de> AvailabilityState
impl<'de> AvailabilityState
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<AvailabilityState, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for AvailabilityState
impl Clone for AvailabilityState
source§fn clone(&self) -> AvailabilityState
fn clone(&self) -> AvailabilityState
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 AvailabilityState
impl Debug for AvailabilityState
source§impl<'de> Deserialize<'de> for AvailabilityState
impl<'de> Deserialize<'de> for AvailabilityState
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 AvailabilityState
impl FromStr for AvailabilityState
source§impl PartialEq for AvailabilityState
impl PartialEq for AvailabilityState
source§fn eq(&self, other: &AvailabilityState) -> bool
fn eq(&self, other: &AvailabilityState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AvailabilityState
impl Serialize for AvailabilityState
impl StructuralPartialEq for AvailabilityState
Auto Trait Implementations§
impl Freeze for AvailabilityState
impl RefUnwindSafe for AvailabilityState
impl Send for AvailabilityState
impl Sync for AvailabilityState
impl Unpin for AvailabilityState
impl UnwindSafe for AvailabilityState
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