pub struct WorkerRecord {
pub worker_id: String,
pub domains: String,
pub max_load: i32,
pub metadata_json: Option<String>,
pub registered_at_ms: i64,
pub last_heartbeat_ms: Option<i64>,
pub status: String,
}Expand description
Worker registration record
Fields§
§worker_id: String§domains: String§max_load: i32§metadata_json: Option<String>§registered_at_ms: i64§last_heartbeat_ms: Option<i64>§status: StringTrait Implementations§
Source§impl Clone for WorkerRecord
impl Clone for WorkerRecord
Source§fn clone(&self) -> WorkerRecord
fn clone(&self) -> WorkerRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkerRecord
impl Debug for WorkerRecord
Source§impl<'de> Deserialize<'de> for WorkerRecord
impl<'de> Deserialize<'de> for WorkerRecord
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
Auto Trait Implementations§
impl Freeze for WorkerRecord
impl RefUnwindSafe for WorkerRecord
impl Send for WorkerRecord
impl Sync for WorkerRecord
impl Unpin for WorkerRecord
impl UnsafeUnpin for WorkerRecord
impl UnwindSafe for WorkerRecord
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