surrealdb 3.0.3

A scalable, distributed, collaborative, document-graph database, for the realtime web
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::types::SurrealValue;

pub const USER: &str = "user";

#[derive(Debug, Default, SurrealValue)]
#[surreal(crate = "crate::types")]
pub struct User {
	pub id: String,
	pub name: String,
}