Trait Value

Source
pub trait Value:
    Serialize
    + DeserializeOwned
    + Send
    + Sync { }
Expand description

Marker trait for values that can be serialized and used as a value for an index field

You should generally not implement this trait as a blanket implementation will cover all types that conform.

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§

Source§

impl<T> Value for T