Enum azure_core::LeaseState
source · pub enum LeaseState {
Available,
Leased,
Expired,
Breaking,
Broken,
}
Variants§
Trait Implementations§
source§impl AsRef<str> for LeaseState
impl AsRef<str> for LeaseState
source§impl Clone for LeaseState
impl Clone for LeaseState
source§fn clone(&self) -> LeaseState
fn clone(&self) -> LeaseState
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 LeaseState
impl Debug for LeaseState
source§impl<'de> Deserialize<'de> for LeaseState
impl<'de> Deserialize<'de> for LeaseState
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 Display for LeaseState
impl Display for LeaseState
source§impl From<LeaseState> for &'static str
impl From<LeaseState> for &'static str
source§fn from(e: LeaseState) -> Self
fn from(e: LeaseState) -> Self
Converts to this type from the input type.
source§impl FromStr for LeaseState
impl FromStr for LeaseState
source§impl FromStringOptional<LeaseState> for LeaseState
impl FromStringOptional<LeaseState> for LeaseState
fn from_str_optional(s: &str) -> Result<LeaseState>
source§impl PartialEq<LeaseState> for LeaseState
impl PartialEq<LeaseState> for LeaseState
source§fn eq(&self, other: &LeaseState) -> bool
fn eq(&self, other: &LeaseState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LeaseState> for LeaseState
impl PartialOrd<LeaseState> for LeaseState
source§fn partial_cmp(&self, other: &LeaseState) -> Option<Ordering>
fn partial_cmp(&self, other: &LeaseState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more