pub struct Worker {
pub id: Option<String>,
pub pool_id: Option<String>,
pub job_name: Option<String>,
pub job_id: Option<String>,
pub start_at: Option<Option<String>>,
pub check_in: Option<String>,
pub checkin_at: Option<Option<String>>,
}Expand description
Worker : worker in the pool
Fields§
§id: Option<String>the id of the worker
pool_id: Option<String>the id of the worker pool
job_name: Option<String>the name of the running job in the worker
job_id: Option<String>the id of the running job in the worker
start_at: Option<Option<String>>The start time of the worker
check_in: Option<String>the checkin of the running job in the worker
checkin_at: Option<Option<String>>The checkin time of the worker
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Worker
impl<'de> Deserialize<'de> for Worker
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 StructuralPartialEq for Worker
Auto Trait Implementations§
impl Freeze for Worker
impl RefUnwindSafe for Worker
impl Send for Worker
impl Sync for Worker
impl Unpin for Worker
impl UnwindSafe for Worker
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