pub trait CatalogSchema {
// Required methods
fn has_entity(&self, name: &str) -> bool;
fn has_type(&self, name: &str) -> bool;
}Expand description
Minimum schema capability needed to validate external catalog names.
Required Methods§
Sourcefn has_entity(&self, name: &str) -> bool
fn has_entity(&self, name: &str) -> bool
True when the schema declares an entity by this exact name.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl CatalogSchema for Schema
Available on crate feature schema only.
impl CatalogSchema for Schema
Available on crate feature
schema only.