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