pub trait ToValueOption: Sized {
type Type: Into<Self>;
// Required method
fn to_value_option(self) -> Option<Value>;
}
Required Associated Types§
Required Methods§
fn to_value_option(self) -> Option<Value>
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.