pub struct TaskStateUpdate {
pub task_id: Option<String>,
pub command_type: Option<String>,
pub status: Option<TaskStatus>,
pub description: Option<String>,
pub timestamp: Option<String>,
pub response: Option<ProcessorResponse>,
pub links: Option<Vec<HashMap<String, Value>>>,
}
Expand description
TaskStateUpdate - Line 9725 in OpenAPI spec Represents the state of an asynchronous task
Fields§
§task_id: Option<String>
UUID of the task
command_type: Option<String>
Type of command being executed
status: Option<TaskStatus>
Current status of the task
description: Option<String>
Description of the task
timestamp: Option<String>
Timestamp of the task update
response: Option<ProcessorResponse>
Response from the processor
links: Option<Vec<HashMap<String, Value>>>
HATEOAS links for related resources
Trait Implementations§
Source§impl Clone for TaskStateUpdate
impl Clone for TaskStateUpdate
Source§fn clone(&self) -> TaskStateUpdate
fn clone(&self) -> TaskStateUpdate
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 TaskStateUpdate
impl Debug for TaskStateUpdate
Source§impl<'de> Deserialize<'de> for TaskStateUpdate
impl<'de> Deserialize<'de> for TaskStateUpdate
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 TaskStateUpdate
impl RefUnwindSafe for TaskStateUpdate
impl Send for TaskStateUpdate
impl Sync for TaskStateUpdate
impl Unpin for TaskStateUpdate
impl UnwindSafe for TaskStateUpdate
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