Trait infinitree::fields::Key

source ·
pub trait Key: Serialize + DeserializeOwned + Eq + Hash + Send + Sync { }
Expand description

Marker trait for value that can be used as a key in an index

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

Implementors§

source§

impl<T> Key for Twhere T: Serialize + DeserializeOwned + Eq + Hash + Send + Sync,