pub struct RuntimeLeaseSnapshot {
pub controller: Option<RuntimeControllerLease>,
pub observers: Vec<RuntimeObserverLease>,
pub lease_ttl_ms: u64,
}Expand description
Serializable ownership snapshot included in registry descriptors.
Fields§
§controller: Option<RuntimeControllerLease>Current unexpired controller, if any.
observers: Vec<RuntimeObserverLease>Attached observers in stable client-id order.
lease_ttl_ms: u64Configured lease duration.
Trait Implementations§
Source§impl Clone for RuntimeLeaseSnapshot
impl Clone for RuntimeLeaseSnapshot
Source§fn clone(&self) -> RuntimeLeaseSnapshot
fn clone(&self) -> RuntimeLeaseSnapshot
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 RuntimeLeaseSnapshot
impl Debug for RuntimeLeaseSnapshot
Source§impl<'de> Deserialize<'de> for RuntimeLeaseSnapshot
impl<'de> Deserialize<'de> for RuntimeLeaseSnapshot
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 RuntimeLeaseSnapshot
Source§impl PartialEq for RuntimeLeaseSnapshot
impl PartialEq for RuntimeLeaseSnapshot
Source§impl Serialize for RuntimeLeaseSnapshot
impl Serialize for RuntimeLeaseSnapshot
impl StructuralPartialEq for RuntimeLeaseSnapshot
Auto Trait Implementations§
impl Freeze for RuntimeLeaseSnapshot
impl RefUnwindSafe for RuntimeLeaseSnapshot
impl Send for RuntimeLeaseSnapshot
impl Sync for RuntimeLeaseSnapshot
impl Unpin for RuntimeLeaseSnapshot
impl UnsafeUnpin for RuntimeLeaseSnapshot
impl UnwindSafe for RuntimeLeaseSnapshot
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.