Enum azure_core::LeaseState
source · [−]pub enum LeaseState {
Available,
Leased,
Expired,
Breaking,
Broken,
}
Variants
Available
Leased
Expired
Breaking
Broken
Trait Implementations
sourceimpl AsRef<str> for LeaseState
impl AsRef<str> for LeaseState
sourceimpl Clone for LeaseState
impl Clone for LeaseState
sourcefn clone(&self) -> LeaseState
fn clone(&self) -> LeaseState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LeaseState
impl Debug for LeaseState
sourceimpl<'de> Deserialize<'de> for LeaseState
impl<'de> Deserialize<'de> for LeaseState
sourcefn 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
sourceimpl Display for LeaseState
impl Display for LeaseState
sourceimpl From<LeaseState> for &'static str
impl From<LeaseState> for &'static str
sourcefn from(e: LeaseState) -> Self
fn from(e: LeaseState) -> Self
Converts to this type from the input type.
sourceimpl FromStr for LeaseState
impl FromStr for LeaseState
sourceimpl FromStringOptional<LeaseState> for LeaseState
impl FromStringOptional<LeaseState> for LeaseState
fn from_str_optional(s: &str) -> Result<LeaseState>
sourceimpl PartialEq<LeaseState> for LeaseState
impl PartialEq<LeaseState> for LeaseState
sourcefn eq(&self, other: &LeaseState) -> bool
fn eq(&self, other: &LeaseState) -> bool
sourceimpl PartialOrd<LeaseState> for LeaseState
impl PartialOrd<LeaseState> for LeaseState
sourcefn partial_cmp(&self, other: &LeaseState) -> Option<Ordering>
fn partial_cmp(&self, other: &LeaseState) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for LeaseState
impl Serialize for LeaseState
impl Copy for LeaseState
impl Eq for LeaseState
impl StructuralEq for LeaseState
impl StructuralPartialEq for LeaseState
Auto Trait Implementations
impl RefUnwindSafe for LeaseState
impl Send for LeaseState
impl Sync for LeaseState
impl Unpin for LeaseState
impl UnwindSafe for LeaseState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more