pub struct ProgressUpdateEventBody {
pub progress_id: String,
pub message: Option<String>,
pub percentage: Option<i64>,
}Expand description
Arguments for a ProgressUpdate event.
Fields§
§progress_id: StringThe ID that was introduced in the initial progressStart event.
message: Option<String>More detailed progress message. If omitted, the previous message (if any) is used.
percentage: Option<i64>Progress percentage to display (value range: 0 to 100). If omitted no percentage is shown.
Trait Implementations§
Source§impl Clone for ProgressUpdateEventBody
impl Clone for ProgressUpdateEventBody
Source§fn clone(&self) -> ProgressUpdateEventBody
fn clone(&self) -> ProgressUpdateEventBody
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 ProgressUpdateEventBody
impl Debug for ProgressUpdateEventBody
Source§impl Default for ProgressUpdateEventBody
impl Default for ProgressUpdateEventBody
Source§fn default() -> ProgressUpdateEventBody
fn default() -> ProgressUpdateEventBody
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProgressUpdateEventBody
impl RefUnwindSafe for ProgressUpdateEventBody
impl Send for ProgressUpdateEventBody
impl Sync for ProgressUpdateEventBody
impl Unpin for ProgressUpdateEventBody
impl UnsafeUnpin for ProgressUpdateEventBody
impl UnwindSafe for ProgressUpdateEventBody
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