Struct bsp_types::TaskFinish
source · [−]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
sourceimpl TaskFinish
impl TaskFinish
Trait Implementations
sourceimpl Clone for TaskFinish
impl Clone for TaskFinish
sourcefn clone(&self) -> TaskFinish
fn clone(&self) -> TaskFinish
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TaskFinish
impl Debug for TaskFinish
sourceimpl Default for TaskFinish
impl Default for TaskFinish
sourcefn default() -> TaskFinish
fn default() -> TaskFinish
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TaskFinish where
TaskFinish: Default,
impl<'de> Deserialize<'de> for TaskFinish where
TaskFinish: 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
sourceimpl Serialize for TaskFinish
impl Serialize for TaskFinish
Auto Trait Implementations
impl RefUnwindSafe for TaskFinish
impl Send for TaskFinish
impl Sync for TaskFinish
impl Unpin for TaskFinish
impl UnwindSafe for TaskFinish
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