pub struct LeaseInfo {
pub lease_id: u128,
pub created_at_unix_secs: u64,
pub expires_at_unix_secs: u64,
pub status: LeaseStatus,
}Expand description
Snapshot of lease metadata for diagnostics/observability.
Fields§
§lease_id: u128§created_at_unix_secs: u64§expires_at_unix_secs: u64§status: LeaseStatusTrait Implementations§
impl Copy for LeaseInfo
impl Eq for LeaseInfo
impl StructuralPartialEq for LeaseInfo
Auto Trait Implementations§
impl Freeze for LeaseInfo
impl RefUnwindSafe for LeaseInfo
impl Send for LeaseInfo
impl Sync for LeaseInfo
impl Unpin for LeaseInfo
impl UnwindSafe for LeaseInfo
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