pub trait SqlGraphIdentifier {
// Required methods
fn dot_identifier(&self) -> String;
fn rust_identifier(&self) -> String;
fn file(&self) -> Option<&'static str>;
fn line(&self) -> Option<u32>;
}
Expand description
Able to produce a GraphViz DOT format identifier.
Required Methods§
sourcefn dot_identifier(&self) -> String
fn dot_identifier(&self) -> String
A dot style identifier for the entity.
Typically this is a ‘archetype’ prefix (eg fn
or type
) then result of
std::module_path
, core::any::type_name
, or some combination of std::file
and
std::line
.
sourcefn rust_identifier(&self) -> String
fn rust_identifier(&self) -> String
A Rust identifier for the entity.
Typically this is the result of std::module_path
, core::any::type_name
,
or some combination of std::file
and std::line
.