pub struct BackfillResult {
pub step_index: usize,
pub matched: u64,
pub inserted: u64,
pub skipped: u64,
pub conflicts: u64,
}Expand description
Per-step backfill count result.
Fields§
§step_index: usizeZero-based index of the step within the migration’s step list.
matched: u64Number of owner instances that matched the source predicate (the total candidate set, including those already having the destination).
inserted: u64Number of instances that were actually backfilled (destination inserted).
Computed as the count of the guarded match (insert-if-absent inserts exactly the guarded set).
skipped: u64Number of instances skipped because they already held the destination
attribute (matched - inserted).
conflicts: u64Number of instances with conflicting source values. Always 0 for the
single-valued v1 CopyAttribute op; reserved for future multi-valued ops.
Trait Implementations§
Source§impl Clone for BackfillResult
impl Clone for BackfillResult
Source§fn clone(&self) -> BackfillResult
fn clone(&self) -> BackfillResult
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 BackfillResult
impl Debug for BackfillResult
Source§impl<'de> Deserialize<'de> for BackfillResult
impl<'de> Deserialize<'de> for BackfillResult
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
impl Eq for BackfillResult
Source§impl PartialEq for BackfillResult
impl PartialEq for BackfillResult
Source§impl Serialize for BackfillResult
impl Serialize for BackfillResult
impl StructuralPartialEq for BackfillResult
Auto Trait Implementations§
impl Freeze for BackfillResult
impl RefUnwindSafe for BackfillResult
impl Send for BackfillResult
impl Sync for BackfillResult
impl Unpin for BackfillResult
impl UnsafeUnpin for BackfillResult
impl UnwindSafe for BackfillResult
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request