ROADMAP v0.4.0 - Schema property type conversion (see ROADMAP.md §4)
(&self)
| 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> { |
nothing calls this directly
no outgoing calls
no test coverage detected