surrealdb-sql 1.1.0

Full type definitions for the SurrealQL query language
Documentation
1
2
3
4
5
6
7
use crate::key::error::KeyCategory;

/// Key requirements are functions that we expect all keys to have
pub(crate) trait KeyRequirements {
	/// Returns the category of the key for error reporting
	fn key_category(&self) -> KeyCategory;
}