MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / as_integer

Method as_integer

graphlite/src/catalog/providers/schema.rs:181–186  ·  view source on GitHub ↗

ROADMAP v0.4.0 - Schema property type conversion (see ROADMAP.md §4)

(&self)

Source from the content-addressed store, hash-verified

179
180 #[allow(dead_code)] // ROADMAP v0.4.0 - Schema property type conversion (see ROADMAP.md §4)
181 pub fn as_integer(&self) -> Option<i64> {
182 match self {
183 SchemaProperty::Integer(i) => Some(*i),
184 _ => None,
185 }
186 }
187
188 #[allow(dead_code)] // ROADMAP v0.4.0 - Schema property type conversion (see ROADMAP.md §4)
189 pub fn as_float(&self) -> Option<f64> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected