pub struct OperationProgressUpdate {
pub message: String,
pub percent: Option<f32>,
}Expand description
Progress update for a long-running async operation.
Fields§
§message: String§percent: Option<f32>Trait Implementations§
Source§impl Clone for OperationProgressUpdate
impl Clone for OperationProgressUpdate
Source§fn clone(&self) -> OperationProgressUpdate
fn clone(&self) -> OperationProgressUpdate
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 OperationProgressUpdate
impl Debug for OperationProgressUpdate
Source§impl<'de> Deserialize<'de> for OperationProgressUpdate
impl<'de> Deserialize<'de> for OperationProgressUpdate
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
Source§impl PartialEq for OperationProgressUpdate
impl PartialEq for OperationProgressUpdate
Source§impl Serialize for OperationProgressUpdate
impl Serialize for OperationProgressUpdate
impl StructuralPartialEq for OperationProgressUpdate
Auto Trait Implementations§
impl Freeze for OperationProgressUpdate
impl RefUnwindSafe for OperationProgressUpdate
impl Send for OperationProgressUpdate
impl Sync for OperationProgressUpdate
impl Unpin for OperationProgressUpdate
impl UnsafeUnpin for OperationProgressUpdate
impl UnwindSafe for OperationProgressUpdate
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