pub trait SQLTable<'a, Value>:
SQLSchema<'a, SQLSchemaType, Value>
+ SQLTableInfo
+ Default
+ Clonewhere
Value: SQLParam + 'a,{
type Select: SQLModel<'a, Value> + SQLPartial<'a, Value> + Default + 'a;
type Insert<T>: SQLModel<'a, Value> + Default;
type Update: SQLModel<'a, Value> + Default + 'a;
}Required Associated Types§
Sourcetype Select: SQLModel<'a, Value> + SQLPartial<'a, Value> + Default + 'a
type Select: SQLModel<'a, Value> + SQLPartial<'a, Value> + Default + 'a
The type representing a model for SELECT operations on this table. This would be generated by the table macro.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.