pub trait SqlGraphIdentifier {
    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

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.

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.

Implementors