Get the string representation for queries
(&self)
| 298 | |
| 299 | /// Get the string representation for queries |
| 300 | pub fn as_str(&self) -> &'static str { |
| 301 | match self { |
| 302 | PathType::Walk => "WALK", |
| 303 | PathType::Trail => "TRAIL", |
| 304 | PathType::SimplePath => "SIMPLE PATH", |
| 305 | PathType::AcyclicPath => "ACYCLIC PATH", |
| 306 | } |
| 307 | } |
| 308 | } |
| 309 | |
| 310 | /// Path pattern: [identifier =] [path_type] node (edge node)* with optional path type constraint |
no outgoing calls