pub struct JsonSchemaAnalyzer;
Expand description
Analyzes JSON Schema changes and generates compatibility reports.
Trait Implementations§
Source§impl SchemaAnalyzer for JsonSchemaAnalyzer
impl SchemaAnalyzer for JsonSchemaAnalyzer
Source§fn analyze_compatibility(
&self,
old: &Schema,
new: &Schema,
) -> Result<CompatibilityReport, SchemaDiffError>
fn analyze_compatibility( &self, old: &Schema, new: &Schema, ) -> Result<CompatibilityReport, SchemaDiffError>
Source§fn generate_migration_path(
&self,
old: &Schema,
new: &Schema,
) -> Result<MigrationPlan, SchemaDiffError>
fn generate_migration_path( &self, old: &Schema, new: &Schema, ) -> Result<MigrationPlan, SchemaDiffError>
Source§fn validate_changes(
&self,
_changes: &[SchemaChange],
) -> Result<ValidationResult, SchemaDiffError>
fn validate_changes( &self, _changes: &[SchemaChange], ) -> Result<ValidationResult, SchemaDiffError>
Validates proposed schema changes Read more
Auto Trait Implementations§
impl Freeze for JsonSchemaAnalyzer
impl RefUnwindSafe for JsonSchemaAnalyzer
impl Send for JsonSchemaAnalyzer
impl Sync for JsonSchemaAnalyzer
impl Unpin for JsonSchemaAnalyzer
impl UnwindSafe for JsonSchemaAnalyzer
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