pub trait SurrealRecord:
Sized
+ Send
+ Sync
+ 'static
+ Debug
+ Clone {
// Required methods
fn table_name() -> &'static str;
fn primary_key() -> &'static str;
}Required Methods§
fn table_name() -> &'static str
fn primary_key() -> &'static str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".