pub struct RuntimeLeaseOwner {
pub owner_id: String,
pub expires_at: DateTime<Utc>,
}Expand description
Current owner observed when a lease is held by another process.
Fields§
§owner_id: StringOwner identifier stored by the active process.
expires_at: DateTime<Utc>Current expiry timestamp for that owner.
Trait Implementations§
Source§impl Clone for RuntimeLeaseOwner
impl Clone for RuntimeLeaseOwner
Source§fn clone(&self) -> RuntimeLeaseOwner
fn clone(&self) -> RuntimeLeaseOwner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RuntimeLeaseOwner
impl Debug for RuntimeLeaseOwner
Source§impl PartialEq for RuntimeLeaseOwner
impl PartialEq for RuntimeLeaseOwner
Source§fn eq(&self, other: &RuntimeLeaseOwner) -> bool
fn eq(&self, other: &RuntimeLeaseOwner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RuntimeLeaseOwner
impl StructuralPartialEq for RuntimeLeaseOwner
Auto Trait Implementations§
impl Freeze for RuntimeLeaseOwner
impl RefUnwindSafe for RuntimeLeaseOwner
impl Send for RuntimeLeaseOwner
impl Sync for RuntimeLeaseOwner
impl Unpin for RuntimeLeaseOwner
impl UnsafeUnpin for RuntimeLeaseOwner
impl UnwindSafe for RuntimeLeaseOwner
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.