pub struct QuarantinedRecord {
pub record: Value,
pub check: &'static str,
pub field: Option<String>,
pub message: String,
pub page_index: usize,
}Available on crate feature
quality only.Expand description
A record removed from the page by a quality check, destined for the DLQ.
Fields§
§record: Value§check: &'static strCheck name (stable metric-label value), e.g. "not_null".
field: Option<String>Addressed field, if any (for the metric/envelope field label).
message: StringHuman-readable failure message (goes into the DLQ envelope error).
page_index: usize0-based position within the original page (not within the quarantine
list). This is the value the DLQ envelope’s record_index must carry —
the frozen contract is “position within the page that failed”.
Trait Implementations§
Source§impl Clone for QuarantinedRecord
impl Clone for QuarantinedRecord
Source§fn clone(&self) -> QuarantinedRecord
fn clone(&self) -> QuarantinedRecord
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 moreAuto Trait Implementations§
impl Freeze for QuarantinedRecord
impl RefUnwindSafe for QuarantinedRecord
impl Send for QuarantinedRecord
impl Sync for QuarantinedRecord
impl Unpin for QuarantinedRecord
impl UnsafeUnpin for QuarantinedRecord
impl UnwindSafe for QuarantinedRecord
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