surrealdb_core/dbs/
fuzzy_eq.rs

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