pub trait UpdateSet {
type Key: Hash + PartialEq + Eq + Ord + Serialize + DeserializeOwned;
type Value: PartialEq + Serialize + DeserializeOwned;
// Required methods
fn value(&self) -> Self::Value;
fn key(&self) -> Self::Key;
fn should_be_deleted(&self) -> bool;
}Expand description
Helper trait fro working with fields that have either 2 or 3 tuple elements (present in the Stream API ladder)