Trait spacetimedb::FilterableValue
source · pub trait FilterableValue: Serialize + Eq { }
Expand description
A trait for types that can be serialized and tested for equality.
A type T
implementing this trait should uphold the invariant:
∀ a, b ∈ T. a == b <=> serialize(a) == serialize(b)
That is, if two values a: T
and b: T
are equal,
then so are the values in their serialized representation.
Object Safety§
This trait is not object safe.