Enum azure_core::LeaseDuration
source · [−]pub enum LeaseDuration {
Infinite,
Fixed,
}
Variants
Infinite
Fixed
Trait Implementations
sourceimpl AsRef<str> for LeaseDuration
impl AsRef<str> for LeaseDuration
sourceimpl Clone for LeaseDuration
impl Clone for LeaseDuration
sourcefn clone(&self) -> LeaseDuration
fn clone(&self) -> LeaseDuration
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 more
sourceimpl Debug for LeaseDuration
impl Debug for LeaseDuration
sourceimpl<'de> Deserialize<'de> for LeaseDuration
impl<'de> Deserialize<'de> for LeaseDuration
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 LeaseDuration
impl Display for LeaseDuration
sourceimpl From<LeaseDuration> for &'static str
impl From<LeaseDuration> for &'static str
sourcefn from(e: LeaseDuration) -> Self
fn from(e: LeaseDuration) -> Self
Converts to this type from the input type.
sourceimpl FromStr for LeaseDuration
impl FromStr for LeaseDuration
sourceimpl FromStringOptional<LeaseDuration> for LeaseDuration
impl FromStringOptional<LeaseDuration> for LeaseDuration
fn from_str_optional(s: &str) -> Result<LeaseDuration>
sourceimpl PartialEq<LeaseDuration> for LeaseDuration
impl PartialEq<LeaseDuration> for LeaseDuration
sourceimpl PartialOrd<LeaseDuration> for LeaseDuration
impl PartialOrd<LeaseDuration> for LeaseDuration
sourcefn partial_cmp(&self, other: &LeaseDuration) -> Option<Ordering>
fn partial_cmp(&self, other: &LeaseDuration) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
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 more
sourceimpl Serialize for LeaseDuration
impl Serialize for LeaseDuration
impl Copy for LeaseDuration
impl StructuralPartialEq for LeaseDuration
Auto Trait Implementations
impl RefUnwindSafe for LeaseDuration
impl Send for LeaseDuration
impl Sync for LeaseDuration
impl Unpin for LeaseDuration
impl UnwindSafe for LeaseDuration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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