pub struct InboundRow {
pub file: String,
pub line: usize,
pub heuristic: bool,
pub tier: Option<HeuristicTier>,
pub source: String,
pub occurrence_index: Option<usize>,
}Expand description
One inbound-table row: file and line of the referencing site, then
heuristic (whether the edge was guessed), tier (which guess tier said
so) and source (the trimmed referencing line). An empty source is
omitted from --json. occurrence_index distinguishes two rows that would
otherwise be equal on every other field (see the occurrence module);
it is None on every row outside such a collision.
Fields§
§file: StringThe file value.
line: usizeThe line value.
heuristic: boolThe heuristic value.
tier: Option<HeuristicTier>Which heuristic tier stands behind this row; None exactly when
heuristic is false (see [row_tier]).
source: StringThe source value.
occurrence_index: Option<usize>A 0-based position among rows of this same table that are otherwise
identical, assigned in the table’s existing stable emission order;
None for a row with no such collision. Scoped to one table of one
answer against one graph snapshot – never a cross-query or
cross-snapshot identity. See the occurrence module.
Trait Implementations§
Source§impl Clone for InboundRow
impl Clone for InboundRow
Source§impl Debug for InboundRow
impl Debug for InboundRow
Source§impl PartialEq for InboundRow
impl PartialEq for InboundRow
impl StructuralPartialEq for InboundRow
Auto Trait Implementations§
impl Freeze for InboundRow
impl RefUnwindSafe for InboundRow
impl Send for InboundRow
impl Sync for InboundRow
impl Unpin for InboundRow
impl UnsafeUnpin for InboundRow
impl UnwindSafe for InboundRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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 more