pub struct ImportedRow {
pub file: String,
pub repo: String,
pub hop: u32,
pub imported_kind: String,
pub why: Why,
}Expand description
One row of imported-edge reach: a file this graph never resolved an edge to, named only because a foreign, producer-asserted record points at (or out of) a file the native walk already reached.
Fields§
§file: StringThe foreign file this row names.
repo: StringThe foreign repo id this file belongs to.
hop: u32One more than the local file’s own hop – the same “one hop of
distance” impact’s native hops already mean.
imported_kind: StringThe producer’s own kind for the record that reached this row
(calls, publishes, consumes, or enqueues).
why: WhyAlways Why::ImportedEdge; carried on the row so every row this
module builds already carries the field its consumers read.
Trait Implementations§
Source§impl Clone for ImportedRow
impl Clone for ImportedRow
Source§impl Debug for ImportedRow
impl Debug for ImportedRow
Source§impl PartialEq for ImportedRow
impl PartialEq for ImportedRow
impl StructuralPartialEq for ImportedRow
Auto Trait Implementations§
impl Freeze for ImportedRow
impl RefUnwindSafe for ImportedRow
impl Send for ImportedRow
impl Sync for ImportedRow
impl Unpin for ImportedRow
impl UnsafeUnpin for ImportedRow
impl UnwindSafe for ImportedRow
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<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 more