pub struct TaskClientUpdateProgress {
pub kind: TaskClientUpdateProgressKind,
pub message: Option<String>,
pub percentage: Option<f64>,
pub phase: Option<String>,
pub status: Option<TaskClientActiveStatus>,
}Expand description
Publishes nonterminal progress for a running or idle client task.
Fields§
§kind: TaskClientUpdateProgressKindClient task update variant discriminator.
message: Option<String>Optional progress message appended to recent activity when nonempty
percentage: Option<f64>Optional completion percentage; null clears the current percentage
phase: Option<String>Optional progress phase; null clears the current phase
status: Option<TaskClientActiveStatus>Optional active status transition
Trait Implementations§
Source§impl Clone for TaskClientUpdateProgress
impl Clone for TaskClientUpdateProgress
Source§fn clone(&self) -> TaskClientUpdateProgress
fn clone(&self) -> TaskClientUpdateProgress
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 TaskClientUpdateProgress
impl Debug for TaskClientUpdateProgress
Source§impl Default for TaskClientUpdateProgress
impl Default for TaskClientUpdateProgress
Source§fn default() -> TaskClientUpdateProgress
fn default() -> TaskClientUpdateProgress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskClientUpdateProgress
impl<'de> Deserialize<'de> for TaskClientUpdateProgress
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 TaskClientUpdateProgress
impl RefUnwindSafe for TaskClientUpdateProgress
impl Send for TaskClientUpdateProgress
impl Sync for TaskClientUpdateProgress
impl Unpin for TaskClientUpdateProgress
impl UnsafeUnpin for TaskClientUpdateProgress
impl UnwindSafe for TaskClientUpdateProgress
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