MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / number_value

Function number_value

crates/openshell-server/src/compute/mod.rs:2133–2137  ·  view source on GitHub ↗
(value: f64)

Source from the content-addressed store, hash-verified

2131 }
2132
2133 fn number_value(value: f64) -> prost_types::Value {
2134 prost_types::Value {
2135 kind: Some(prost_types::value::Kind::NumberValue(value)),
2136 }
2137 }
2138
2139 fn struct_value(
2140 fields: impl IntoIterator<Item = (impl Into<String>, prost_types::Value)>,

Calls

no outgoing calls