Trait ToValueOption

Source
pub trait ToValueOption: Sized {
    type Type: Into<Self>;

    // Required method
    fn to_value_option(self) -> Option<Value>;
}

Required Associated Types§

Source

type Type: Into<Self>

Required Methods§

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.

Implementors§