Skip to main content

Key

Trait Key 

Source
pub trait Key:
    Clone
    + Eq
    + Hash
    + Debug
    + Serialize
    + DeserializeOwned
    + 'static { }
Expand description

What a view’s keys are: cloned, compared, hashed, and carried in step arguments as JSON.

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: Clone + Eq + Hash + Debug + Serialize + DeserializeOwned + 'static> Key for T