pub struct TaskUpdatePatch {
pub status: Option<String>,
pub end_time: Option<u64>,
pub extras: Extras,
}Expand description
Patch payload carried by Message::TaskUpdated. Fields are
optional because the CLI emits patches that update only the
changed fields. status is the free-form wire string (e.g.
"completed", "running", "killed") - keeping it as String
rather than an enum lets the reducer accept future statuses
without a forge-primitives bump.
Fields§
§status: Option<String>New status the task transitioned to, if the patch carries one.
end_time: Option<u64>Unix-millis wall-clock end time the CLI stamped on the task, if applicable (terminal transitions usually set this).
extras: ExtrasFields of the patch forge does not model, kept verbatim.
Trait Implementations§
Source§impl Clone for TaskUpdatePatch
impl Clone for TaskUpdatePatch
Source§impl Debug for TaskUpdatePatch
impl Debug for TaskUpdatePatch
Source§impl Default for TaskUpdatePatch
impl Default for TaskUpdatePatch
Source§impl<'de> Deserialize<'de> for TaskUpdatePatch
impl<'de> Deserialize<'de> for TaskUpdatePatch
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 TaskUpdatePatch
Source§impl PartialEq for TaskUpdatePatch
impl PartialEq for TaskUpdatePatch
Source§impl Serialize for TaskUpdatePatch
impl Serialize for TaskUpdatePatch
impl StructuralPartialEq for TaskUpdatePatch
Auto Trait Implementations§
impl Freeze for TaskUpdatePatch
impl RefUnwindSafe for TaskUpdatePatch
impl Send for TaskUpdatePatch
impl Sync for TaskUpdatePatch
impl Unpin for TaskUpdatePatch
impl UnsafeUnpin for TaskUpdatePatch
impl UnwindSafe for TaskUpdatePatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.