pub struct ActiveTaskInfo {
pub id: Uuid,
pub name: String,
pub args: String,
pub kwargs: String,
pub started: f64,
pub hostname: String,
pub worker_pid: Option<u32>,
pub delivery_info: Option<DeliveryInfo>,
}Expand description
Information about an actively executing task
Fields§
§id: UuidTask ID
name: StringTask name
args: StringTask arguments (JSON)
kwargs: StringTask keyword arguments (JSON)
started: f64When the task started (Unix timestamp)
hostname: StringWorker hostname executing the task
worker_pid: Option<u32>Worker process ID
delivery_info: Option<DeliveryInfo>Delivery info (queue, routing key, etc.)
Trait Implementations§
Source§impl Clone for ActiveTaskInfo
impl Clone for ActiveTaskInfo
Source§fn clone(&self) -> ActiveTaskInfo
fn clone(&self) -> ActiveTaskInfo
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 ActiveTaskInfo
impl Debug for ActiveTaskInfo
Source§impl<'de> Deserialize<'de> for ActiveTaskInfo
impl<'de> Deserialize<'de> for ActiveTaskInfo
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 ActiveTaskInfo
impl RefUnwindSafe for ActiveTaskInfo
impl Send for ActiveTaskInfo
impl Sync for ActiveTaskInfo
impl Unpin for ActiveTaskInfo
impl UnwindSafe for ActiveTaskInfo
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