pub enum NodeLabel {
File,
Module,
Function,
Behaviour,
Callback,
ApiEndpoint,
ExternalApi,
}Expand description
Labels used for nodes in the Neo4j graph.
This file is the central “schema contract” describing what node types exist and which common properties they are expected to have.
Variants§
File
Source file (any language).
Module
Logical module / grouping of functions.
For Erlang this is one .erl file with a -module(Name)..
Function
A concrete function or method.
Behaviour
OTP/custom behaviour contract node.
Callback
Callback contract declared by a behaviour.
ApiEndpoint
An HTTP or RPC API endpoint exposed by the system.
ExternalApi
An external API or service that the system calls out to.
Trait Implementations§
impl Copy for NodeLabel
impl Eq for NodeLabel
impl StructuralPartialEq for NodeLabel
Auto Trait Implementations§
impl Freeze for NodeLabel
impl RefUnwindSafe for NodeLabel
impl Send for NodeLabel
impl Sync for NodeLabel
impl Unpin for NodeLabel
impl UnsafeUnpin for NodeLabel
impl UnwindSafe for NodeLabel
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