pub enum RelType {
Show 17 variants
DeclaresModule,
DeclaresFunction,
DeclaresClass,
DeclaresProperty,
DependsOnFile,
CallsFunction,
HandlesApi,
CallsExternalApi,
SameApi,
UsesClass,
ClassUsesClass,
ImplementsBehaviour,
DeclaresCallback,
ImplementsCallback,
DeclaresBehaviour,
ExtendsBehaviour,
OverridesCallback,
}Expand description
Relationship types used in the Neo4j graph.
Keeping these in one place avoids hard‑coding relationship names in multiple modules and makes the schema easier to evolve.
Variants§
DeclaresModule
File -> Module: file declares a module.
DeclaresFunction
File/Module -> Function: parent declares a function.
DeclaresClass
File -> Class: file declares a class.
DeclaresProperty
Class -> Property: type declares a property (C#; CRM-3587).
DependsOnFile
File -> File: one file depends (imports/includes) on another.
CallsFunction
Function -> Function: call graph edge.
HandlesApi
ApiEndpoint -> Function: which function handles this API.
CallsExternalApi
Function -> ExternalApi: function calls an external service/API.
SameApi
ApiEndpoint -> ExternalApi: same API exposed and called.
UsesClass
Function -> Class: function uses this class/type.
ClassUsesClass
Class -> Class: class uses another class (inheritance, composition).
ImplementsBehaviour
Module -> Behaviour: module implements behaviour contract.
DeclaresCallback
Behaviour -> Callback: behaviour declares callback contract.
ImplementsCallback
Function -> Callback: function implements callback contract.
DeclaresBehaviour
File -> Behaviour: file declares a custom behaviour.
ExtendsBehaviour
Behaviour -> Behaviour: behaviour extends another behaviour.
OverridesCallback
Function -> Callback: function explicitly overrides callback contract.
Trait Implementations§
impl Copy for RelType
impl Eq for RelType
impl StructuralPartialEq for RelType
Auto Trait Implementations§
impl Freeze for RelType
impl RefUnwindSafe for RelType
impl Send for RelType
impl Sync for RelType
impl Unpin for RelType
impl UnsafeUnpin for RelType
impl UnwindSafe for RelType
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
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>
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>
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