pub struct QualifiedEdge {
pub from: QualifiedEndpoint,
pub to: QualifiedEndpoint,
pub kind: DependencyKind,
}Expand description
One dependency edge with both ends qualified.
An end may belong to another source. The near plugin owns that qualified far id and the engine reports it without resolving or fetching the far source, so it holds no index.
Fields§
§from: QualifiedEndpointThe item the edge starts at, and the one that depends on the other.
The direction a caller asked in says which end they named, not which end the edge starts at: a forward read and the matching reverse read report the same edge.
to: QualifiedEndpointThe item the edge points at, and the one that must finish first.
kind: DependencyKindWhat the edge means.
Trait Implementations§
Source§impl Clone for QualifiedEdge
impl Clone for QualifiedEdge
Source§fn clone(&self) -> QualifiedEdge
fn clone(&self) -> QualifiedEdge
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 QualifiedEdge
impl Debug for QualifiedEdge
Source§impl<'de> Deserialize<'de> for QualifiedEdge
impl<'de> Deserialize<'de> for QualifiedEdge
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
Source§impl JsonSchema for QualifiedEdge
impl JsonSchema for QualifiedEdge
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for QualifiedEdge
impl PartialEq for QualifiedEdge
Source§impl Serialize for QualifiedEdge
impl Serialize for QualifiedEdge
impl StructuralPartialEq for QualifiedEdge
Auto Trait Implementations§
impl Freeze for QualifiedEdge
impl RefUnwindSafe for QualifiedEdge
impl Send for QualifiedEdge
impl Sync for QualifiedEdge
impl Unpin for QualifiedEdge
impl UnsafeUnpin for QualifiedEdge
impl UnwindSafe for QualifiedEdge
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