pub trait SQLColumnInfo: Send + Sync {
// Required methods
fn is_not_null(&self) -> bool;
fn is_primary_key(&self) -> bool;
fn is_unique(&self) -> bool;
fn name(&self) -> &'static str;
fn type(&self) -> &'static str;
fn has_default(&self) -> bool;
fn table(&self) -> &'static dyn SQLTableInfo;
}Required Methods§
fn is_not_null(&self) -> bool
fn is_primary_key(&self) -> bool
fn is_unique(&self) -> bool
fn name(&self) -> &'static str
fn type(&self) -> &'static str
fn has_default(&self) -> bool
fn table(&self) -> &'static dyn SQLTableInfo
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".