pub struct QualifiedEdge {
pub from: GlobalId,
pub to: GlobalId,
pub kind: DependencyKind,
}Expand description
One dependency edge with both ends qualified.
Both ends belong to the same source: a cross-source edge would need state relating an id in one system to an id in another, and the engine holds none.
Fields§
§from: GlobalIdThe item the edge starts at.
to: GlobalIdThe item the edge points at.
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