pub struct LeaseId(pub i64);Expand description
Identifies a lease. Assigned by the daemon’s database when the lease is first stored.
Tuple Fields§
§0: i64Trait Implementations§
impl Copy for LeaseId
Source§impl<'de> Deserialize<'de> for LeaseId
impl<'de> Deserialize<'de> for LeaseId
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 LeaseId
Source§impl Ord for LeaseId
impl Ord for LeaseId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for LeaseId
impl PartialOrd for LeaseId
impl StructuralPartialEq for LeaseId
Auto Trait Implementations§
impl Forget for LeaseId
impl Freeze for LeaseId
impl Move for LeaseId
impl RefUnwindSafe for LeaseId
impl Send for LeaseId
impl Sync for LeaseId
impl Unpin for LeaseId
impl UnsafeUnpin for LeaseId
impl UnwindSafe for LeaseId
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