pub struct TaskStart {
pub task_id: TaskId,
pub event_time: Option<u32>,
pub message: String,
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 when the event started in milliseconds since Epoch.
message: StringMessage describing the task.
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
sourceimpl<'de> Deserialize<'de> for TaskStart where
TaskStart: Default,
impl<'de> Deserialize<'de> for TaskStart where
TaskStart: Default,
sourcefn 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 RefUnwindSafe for TaskStart
impl Send for TaskStart
impl Sync for TaskStart
impl Unpin for TaskStart
impl UnwindSafe for TaskStart
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more