surrealdb_core/dbs/
fuzzy_eq.rs

1/// FuzzyEq trait is used to compare objects while ignoring values that are non-deterministic.
2/// Non detereministic values include:
3/// - Timestamps
4/// - UUIDs
5pub trait FuzzyEq<Rhs: ?Sized = Self> {
6	/// Use this when comparing objects that you do not want to compare properties that are
7	/// non-deterministic
8	fn fuzzy_eq(&self, other: &Rhs) -> bool;
9}