pub trait SchemaProvider {
// Required method
fn get_collection(&self, name: &str) -> Option<&Collection>;
// Provided method
fn collection_exists(&self, name: &str) -> bool { ... }
}Expand description
Schema provider trait for validation Allows validation without direct Aurora dependency
Required Methods§
Sourcefn get_collection(&self, name: &str) -> Option<&Collection>
fn get_collection(&self, name: &str) -> Option<&Collection>
Get a collection definition by name
Provided Methods§
Sourcefn collection_exists(&self, name: &str) -> bool
fn collection_exists(&self, name: &str) -> bool
Check if a collection exists