#[non_exhaustive]pub struct TaskCommandResult {
pub command_id: String,
pub status: CommandStatus,
pub task_id: String,
}Expand description
The task/background / task/stop ack: admission-only, echoing the
targeted task.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command_id: StringEchoes the client’s id.
status: CommandStatusAdmission status.
task_id: StringEchoes the targeted task id.
Trait Implementations§
Source§impl Clone for TaskCommandResult
impl Clone for TaskCommandResult
Source§impl Debug for TaskCommandResult
impl Debug for TaskCommandResult
Source§impl<'de> Deserialize<'de> for TaskCommandResult
impl<'de> Deserialize<'de> for TaskCommandResult
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 Eq for TaskCommandResult
Source§impl PartialEq for TaskCommandResult
impl PartialEq for TaskCommandResult
Source§impl Serialize for TaskCommandResult
impl Serialize for TaskCommandResult
impl StructuralPartialEq for TaskCommandResult
Auto Trait Implementations§
impl Freeze for TaskCommandResult
impl RefUnwindSafe for TaskCommandResult
impl Send for TaskCommandResult
impl Sync for TaskCommandResult
impl Unpin for TaskCommandResult
impl UnsafeUnpin for TaskCommandResult
impl UnwindSafe for TaskCommandResult
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