pub struct CrossRepoEdge {
pub id: String,
pub source: String,
pub target: String,
pub relationship: String,
pub confidence: f64,
pub source_namespace: String,
pub target_namespace: String,
}Expand description
A cross-namespace edge produced by the linker.
Fields§
§id: StringEdge ID: “xref:{src_ns}/{src_sym}->{dst_ns}/{dst_sym}”
source: StringSource node ID (e.g., “sym:handler.process”)
target: StringTarget node ID (e.g., “sym:validate”)
relationship: StringRelationship type string (e.g., “Calls”, “Imports”)
confidence: f64Confidence of the cross-repo resolution
source_namespace: StringSource namespace
target_namespace: StringTarget namespace
Trait Implementations§
Source§impl Clone for CrossRepoEdge
impl Clone for CrossRepoEdge
Source§fn clone(&self) -> CrossRepoEdge
fn clone(&self) -> CrossRepoEdge
Returns a duplicate of the value. Read more
1.0.0 · 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 CrossRepoEdge
impl RefUnwindSafe for CrossRepoEdge
impl Send for CrossRepoEdge
impl Sync for CrossRepoEdge
impl Unpin for CrossRepoEdge
impl UnsafeUnpin for CrossRepoEdge
impl UnwindSafe for CrossRepoEdge
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> 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 more