pub struct DiscoveredEdge {
pub from_project: String,
pub from_workspace: String,
pub to_project: String,
pub kind: EdgeKind,
pub evidence: Option<String>,
}Expand description
Edge discovered by a language or toolchain adapter.
Fields§
§from_project: StringSource project.
from_workspace: StringSource workspace.
to_project: StringTarget project.
kind: EdgeKindEdge kind.
evidence: Option<String>Evidence path or package name.
Trait Implementations§
Source§impl Clone for DiscoveredEdge
impl Clone for DiscoveredEdge
Source§fn clone(&self) -> DiscoveredEdge
fn clone(&self) -> DiscoveredEdge
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 moreSource§impl Debug for DiscoveredEdge
impl Debug for DiscoveredEdge
impl Eq for DiscoveredEdge
Source§impl PartialEq for DiscoveredEdge
impl PartialEq for DiscoveredEdge
Source§fn eq(&self, other: &DiscoveredEdge) -> bool
fn eq(&self, other: &DiscoveredEdge) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiscoveredEdge
Auto Trait Implementations§
impl Freeze for DiscoveredEdge
impl RefUnwindSafe for DiscoveredEdge
impl Send for DiscoveredEdge
impl Sync for DiscoveredEdge
impl Unpin for DiscoveredEdge
impl UnsafeUnpin for DiscoveredEdge
impl UnwindSafe for DiscoveredEdge
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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