pub trait IgnisObject: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn schema(&self) -> Option<&str>;
fn ddl(&self) -> &str;
fn object_type(&self) -> &str;
}Expand description
Core trait that all Ignis objects must implement
Required Methods§
Sourcefn object_type(&self) -> &str
fn object_type(&self) -> &str
Get the type of this object
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".