pub struct MutationCompletion {
pub status: MutationCompletionStatus,
pub reasons: Vec<MutationIncompleteReason>,
}Expand description
The completion status of a run.
Fields§
§status: MutationCompletionStatuscomplete or partial.
reasons: Vec<MutationIncompleteReason>Why the run is partial, sorted. Empty for a complete run.
Implementations§
Source§impl MutationCompletion
impl MutationCompletion
Sourcepub fn from_reasons(reasons: Vec<MutationIncompleteReason>) -> Self
pub fn from_reasons(reasons: Vec<MutationIncompleteReason>) -> Self
A completion with reasons. The status is complete only when the
list is empty.
Trait Implementations§
Source§impl Clone for MutationCompletion
impl Clone for MutationCompletion
Source§impl Debug for MutationCompletion
impl Debug for MutationCompletion
impl Eq for MutationCompletion
Source§impl PartialEq for MutationCompletion
impl PartialEq for MutationCompletion
Source§impl Serialize for MutationCompletion
impl Serialize for MutationCompletion
impl StructuralPartialEq for MutationCompletion
Auto Trait Implementations§
impl Freeze for MutationCompletion
impl RefUnwindSafe for MutationCompletion
impl Send for MutationCompletion
impl Sync for MutationCompletion
impl Unpin for MutationCompletion
impl UnsafeUnpin for MutationCompletion
impl UnwindSafe for MutationCompletion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.