Skip to main content

SurrealRecord

Trait SurrealRecord 

Source
pub trait SurrealRecord:
    Sized
    + Send
    + Sync
    + 'static
    + Debug
    + Clone {
    // Required methods
    fn table_name() -> &'static str;
    fn primary_key() -> &'static str;
}

Required Methods§

Source

fn table_name() -> &'static str

Source

fn primary_key() -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§