pub enum LeaseState {
Active,
Released,
Revoked,
Expired,
}Variants§
Trait Implementations§
Source§impl Clone for LeaseState
impl Clone for LeaseState
impl Copy for LeaseState
Source§impl Debug for LeaseState
impl Debug for LeaseState
Source§impl<'de> Deserialize<'de> for LeaseState
impl<'de> Deserialize<'de> for LeaseState
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
impl Eq for LeaseState
Source§impl Hash for LeaseState
impl Hash for LeaseState
Source§impl PartialEq for LeaseState
impl PartialEq for LeaseState
Source§impl Serialize for LeaseState
impl Serialize for LeaseState
impl StructuralPartialEq for LeaseState
Auto Trait Implementations§
impl Forget for LeaseState
impl Freeze for LeaseState
impl Move for LeaseState
impl RefUnwindSafe for LeaseState
impl Send for LeaseState
impl Sync for LeaseState
impl Unpin for LeaseState
impl UnsafeUnpin for LeaseState
impl UnwindSafe for LeaseState
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