pub struct SupervisorLeaseStatus {
pub generation: u64,
pub supervisor_pid: Option<u32>,
pub supervisor_socket: Option<String>,
pub last_heartbeat: Option<u64>,
pub runtime_state: Option<String>,
}Fields§
§generation: u64§supervisor_pid: Option<u32>§supervisor_socket: Option<String>§last_heartbeat: Option<u64>§runtime_state: Option<String>Trait Implementations§
Source§impl Clone for SupervisorLeaseStatus
impl Clone for SupervisorLeaseStatus
Source§impl Debug for SupervisorLeaseStatus
impl Debug for SupervisorLeaseStatus
Source§impl<'de> Deserialize<'de> for SupervisorLeaseStatus
impl<'de> Deserialize<'de> for SupervisorLeaseStatus
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 SupervisorLeaseStatus
Source§impl PartialEq for SupervisorLeaseStatus
impl PartialEq for SupervisorLeaseStatus
Source§impl Serialize for SupervisorLeaseStatus
impl Serialize for SupervisorLeaseStatus
impl StructuralPartialEq for SupervisorLeaseStatus
Auto Trait Implementations§
impl Forget for SupervisorLeaseStatus
impl Freeze for SupervisorLeaseStatus
impl RefUnwindSafe for SupervisorLeaseStatus
impl Send for SupervisorLeaseStatus
impl Sync for SupervisorLeaseStatus
impl Unpin for SupervisorLeaseStatus
impl UnsafeUnpin for SupervisorLeaseStatus
impl UnwindSafe for SupervisorLeaseStatus
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<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.