pub struct OperationSnapshot<TProgress = Value, TOutput = Value> {
pub revision: u64,
pub state: OperationState,
pub progress: Option<TProgress>,
pub output: Option<TOutput>,
}Fields§
§revision: u64§state: OperationState§progress: Option<TProgress>§output: Option<TOutput>Trait Implementations§
Source§impl<TProgress: Clone, TOutput: Clone> Clone for OperationSnapshot<TProgress, TOutput>
impl<TProgress: Clone, TOutput: Clone> Clone for OperationSnapshot<TProgress, TOutput>
Source§fn clone(&self) -> OperationSnapshot<TProgress, TOutput>
fn clone(&self) -> OperationSnapshot<TProgress, TOutput>
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<'de, TProgress, TOutput> Deserialize<'de> for OperationSnapshot<TProgress, TOutput>where
TProgress: Deserialize<'de>,
TOutput: Deserialize<'de>,
impl<'de, TProgress, TOutput> Deserialize<'de> for OperationSnapshot<TProgress, TOutput>where
TProgress: Deserialize<'de>,
TOutput: Deserialize<'de>,
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<TProgress: PartialEq, TOutput: PartialEq> PartialEq for OperationSnapshot<TProgress, TOutput>
impl<TProgress: PartialEq, TOutput: PartialEq> PartialEq for OperationSnapshot<TProgress, TOutput>
Source§fn eq(&self, other: &OperationSnapshot<TProgress, TOutput>) -> bool
fn eq(&self, other: &OperationSnapshot<TProgress, TOutput>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<TProgress, TOutput> Serialize for OperationSnapshot<TProgress, TOutput>
impl<TProgress, TOutput> Serialize for OperationSnapshot<TProgress, TOutput>
impl<TProgress, TOutput> StructuralPartialEq for OperationSnapshot<TProgress, TOutput>
Auto Trait Implementations§
impl<TProgress, TOutput> Freeze for OperationSnapshot<TProgress, TOutput>
impl<TProgress, TOutput> RefUnwindSafe for OperationSnapshot<TProgress, TOutput>where
TProgress: RefUnwindSafe,
TOutput: RefUnwindSafe,
impl<TProgress, TOutput> Send for OperationSnapshot<TProgress, TOutput>
impl<TProgress, TOutput> Sync for OperationSnapshot<TProgress, TOutput>
impl<TProgress, TOutput> Unpin for OperationSnapshot<TProgress, TOutput>
impl<TProgress, TOutput> UnsafeUnpin for OperationSnapshot<TProgress, TOutput>where
TProgress: UnsafeUnpin,
TOutput: UnsafeUnpin,
impl<TProgress, TOutput> UnwindSafe for OperationSnapshot<TProgress, TOutput>where
TProgress: UnwindSafe,
TOutput: UnwindSafe,
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