pub struct WorkerEntry {
pub worker_id: String,
pub manager_id: String,
pub worker_name: Option<String>,
pub last_seen: Option<u64>,
pub connected_since: Option<u64>,
pub disconnected_at: Option<u64>,
}Expand description
Worker presence advertised across the mesh.
Fields§
§worker_id: String§manager_id: String§worker_name: Option<String>§last_seen: Option<u64>§connected_since: Option<u64>§disconnected_at: Option<u64>Trait Implementations§
Source§impl Clone for WorkerEntry
impl Clone for WorkerEntry
Source§fn clone(&self) -> WorkerEntry
fn clone(&self) -> WorkerEntry
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 WorkerEntry
impl Debug for WorkerEntry
Source§impl<'de> Deserialize<'de> for WorkerEntry
impl<'de> Deserialize<'de> for WorkerEntry
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
Source§impl PartialEq for WorkerEntry
impl PartialEq for WorkerEntry
Source§impl Serialize for WorkerEntry
impl Serialize for WorkerEntry
impl StructuralPartialEq for WorkerEntry
Auto Trait Implementations§
impl Freeze for WorkerEntry
impl RefUnwindSafe for WorkerEntry
impl Send for WorkerEntry
impl Sync for WorkerEntry
impl Unpin for WorkerEntry
impl UnsafeUnpin for WorkerEntry
impl UnwindSafe for WorkerEntry
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