MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / try_into_value

Method try_into_value

cel/src/objects.rs:520–522  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

518impl<T: serde::Serialize> TryIntoValue for T {
519 type Error = crate::ser::SerializationError;
520 fn try_into_value(self) -> Result<Value, Self::Error> {
521 crate::ser::to_value(self)
522 }
523}
524impl TryIntoValue for Value {
525 type Error = Infallible;

Callers 1

add_variableMethod · 0.80

Calls 1

to_valueFunction · 0.85

Tested by

no test coverage detected