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 for LeaseDuration
impl PartialEq 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 for LeaseDuration
impl PartialOrd 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 moresource§impl Serialize for LeaseDuration
impl Serialize for LeaseDuration
impl Copy for LeaseDuration
impl Eq for LeaseDuration
impl StructuralPartialEq for LeaseDuration
Auto Trait Implementations§
impl Freeze for LeaseDuration
impl RefUnwindSafe for LeaseDuration
impl Send for LeaseDuration
impl Sync for LeaseDuration
impl Unpin for LeaseDuration
impl UnwindSafe for LeaseDuration
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