MCPcopy Create free account
hub / github.com/ElementsProject/lightning / visit_f64

Method visit_f64

plugins/rest-plugin/src/yaml.rs:125–131  ·  view source on GitHub ↗
(self, v: f64)

Source from the content-addressed store, hash-verified

123 }
124
125 fn visit_f64<E>(self, v: f64) -> Result<Value, E>
126 where
127 E: de::Error,
128 {
129 self.budget.bump_node::<E>()?;
130 Ok(Number::from_f64(v).map_or(Value::Null, Value::Number))
131 }
132
133 fn visit_str<E>(self, v: &str) -> Result<Value, E>
134 where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected