pub struct TaskFinish {
pub task_id: TaskId,
pub event_time: Option<u32>,
pub message: String,
pub status: TaskStatus,
pub data_kind: TaskDataKind,
pub data: Value,
}Fields§
§task_id: TaskIdUnique id of the task with optional reference to parent task id
event_time: Option<u32>Timestamp of the event in milliseconds.
message: StringMessage describing the task.
status: TaskStatusTask completion status.
data_kind: TaskDataKindKind of data to expect in the data field. If this field is not set, the kind of data is
not specified.
- Kind names for specific tasks like compile, test, etc are specified in the protocol.
data: ValueOptional metadata about the task.
- Objects for specific tasks like compile, test, etc are specified in the protocol.
Implementations§
Trait Implementations§
Source§impl Clone for TaskFinish
impl Clone for TaskFinish
Source§fn clone(&self) -> TaskFinish
fn clone(&self) -> TaskFinish
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 TaskFinish
impl Debug for TaskFinish
Source§impl Default for TaskFinish
impl Default for TaskFinish
Source§fn default() -> TaskFinish
fn default() -> TaskFinish
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskFinishwhere
TaskFinish: Default,
impl<'de> Deserialize<'de> for TaskFinishwhere
TaskFinish: Default,
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 TaskFinish
impl RefUnwindSafe for TaskFinish
impl Send for TaskFinish
impl Sync for TaskFinish
impl Unpin for TaskFinish
impl UnwindSafe for TaskFinish
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