pub struct NewTaskResponse {
pub success: bool,
pub taskid: Option<String>,
pub message: Option<String>,
}Expand description
Response when creating a new task.
Fields§
§success: boolTrue if task creation succeeded
taskid: Option<String>The unique execution ID assigned to this task
message: Option<String>Error or info message
Trait Implementations§
Source§impl Clone for NewTaskResponse
impl Clone for NewTaskResponse
Source§fn clone(&self) -> NewTaskResponse
fn clone(&self) -> NewTaskResponse
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 NewTaskResponse
impl Debug for NewTaskResponse
Source§impl<'de> Deserialize<'de> for NewTaskResponse
impl<'de> Deserialize<'de> for NewTaskResponse
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 NewTaskResponse
impl RefUnwindSafe for NewTaskResponse
impl Send for NewTaskResponse
impl Sync for NewTaskResponse
impl Unpin for NewTaskResponse
impl UnsafeUnpin for NewTaskResponse
impl UnwindSafe for NewTaskResponse
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