pub struct SchemaValidator { /* private fields */ }Implementations§
Source§impl SchemaValidator
impl SchemaValidator
pub fn new(registry: SchemaRegistry) -> Self
pub fn validate_component( &self, component_id: &str, fields: &AHashMap<FieldId, FieldType>, ) -> Result<()>
pub fn get_registry(&self) -> &SchemaRegistry
Auto Trait Implementations§
impl Freeze for SchemaValidator
impl RefUnwindSafe for SchemaValidator
impl Send for SchemaValidator
impl Sync for SchemaValidator
impl Unpin for SchemaValidator
impl UnwindSafe for SchemaValidator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more