pub trait CelOneof: Sized + TryInto<Value, Error = CelConversionError> {
// Required method
fn try_into_cel(self) -> Result<(String, Value), CelConversionError>;
}Available on crate feature
cel only.Expand description
A trait that enables conversion into cel::Value.
Implemented by the proto_oneof macro.
Required Methods§
fn try_into_cel(self) -> Result<(String, Value), CelConversionError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.