pub enum LeaseDuration {
Infinite,
Fixed,
}
Variants§
Trait Implementations§
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 PartialEq for LeaseDuration
impl PartialEq for LeaseDuration
Source§impl Serialize for LeaseDuration
impl Serialize 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