pub struct SessionTaskUpdate {
pub state: Option<SessionTaskState>,
pub state_detail: Option<String>,
pub progress: Option<TaskProgress>,
pub input_request: Option<TaskInputRequest>,
pub summary: Option<String>,
pub result_path: Option<String>,
pub artifacts: Option<Vec<TaskArtifact>>,
pub error: Option<TaskError>,
pub links: Option<TaskLinks>,
pub worker_id: Option<String>,
pub heartbeat_at: Option<DateTime<Utc>>,
}Expand description
Partial update applied through apply_task_update. None = unchanged.
Fields§
§state: Option<SessionTaskState>§state_detail: Option<String>§progress: Option<TaskProgress>§input_request: Option<TaskInputRequest>Setting an input request implies awaiting_input.
summary: Option<String>§result_path: Option<String>§artifacts: Option<Vec<TaskArtifact>>Replaces the artifact list when set.
error: Option<TaskError>§links: Option<TaskLinks>Merged field-by-field into existing links.
worker_id: Option<String>§heartbeat_at: Option<DateTime<Utc>>Liveness heartbeat timestamp.
Trait Implementations§
Source§impl Clone for SessionTaskUpdate
impl Clone for SessionTaskUpdate
Source§fn clone(&self) -> SessionTaskUpdate
fn clone(&self) -> SessionTaskUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionTaskUpdate
impl Debug for SessionTaskUpdate
Source§impl Default for SessionTaskUpdate
impl Default for SessionTaskUpdate
Source§fn default() -> SessionTaskUpdate
fn default() -> SessionTaskUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionTaskUpdate
impl<'de> Deserialize<'de> for SessionTaskUpdate
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 SessionTaskUpdate
impl RefUnwindSafe for SessionTaskUpdate
impl Send for SessionTaskUpdate
impl Sync for SessionTaskUpdate
impl Unpin for SessionTaskUpdate
impl UnsafeUnpin for SessionTaskUpdate
impl UnwindSafe for SessionTaskUpdate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request