pub enum FieldPath {
Reservation(ReservationField),
Stay(StayField),
Source(SourceField),
}Expand description
Semantic path to the source field that produced a data-quality issue.
Variants§
Reservation(ReservationField)
Reservation record participating in the workflow.
Stay(StayField)
Stay data-quality finding for cleanup or review.
Source(SourceField)
Source data-quality finding for cleanup or review.
Implementations§
Source§impl FieldPath
impl FieldPath
Sourcepub const fn reservation(field: ReservationField) -> Self
pub const fn reservation(field: ReservationField) -> Self
Builds a reservation-field path for a source-data-quality issue.
Sourcepub const fn stay(field: StayField) -> Self
pub const fn stay(field: StayField) -> Self
Builds a stay/read-model-field path for a source-data-quality issue.
Sourcepub const fn source(field: SourceField) -> Self
pub const fn source(field: SourceField) -> Self
Builds a source-metadata-field path for a source-data-quality issue.
Sourcepub const fn segments(&self) -> &'static [FieldSegment]
pub const fn segments(&self) -> &'static [FieldSegment]
Returns stable path segments for repair queues, BI dimensions, and manager review.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldPath
impl<'de> Deserialize<'de> for FieldPath
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 Copy for FieldPath
impl Eq for FieldPath
impl StructuralPartialEq for FieldPath
Auto Trait Implementations§
impl Freeze for FieldPath
impl RefUnwindSafe for FieldPath
impl Send for FieldPath
impl Sync for FieldPath
impl Unpin for FieldPath
impl UnsafeUnpin for FieldPath
impl UnwindSafe for FieldPath
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