pub struct JsonSchemaKeywordCompatLint { /* private fields */ }Expand description
Lint: reports $defs usage with legacy JSON Schema drafts.
Implementations§
Source§impl JsonSchemaKeywordCompatLint
impl JsonSchemaKeywordCompatLint
pub fn new(definition: LintDefinition) -> Self
Trait Implementations§
Source§impl Clone for JsonSchemaKeywordCompatLint
impl Clone for JsonSchemaKeywordCompatLint
Source§fn clone(&self) -> JsonSchemaKeywordCompatLint
fn clone(&self) -> JsonSchemaKeywordCompatLint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonSchemaKeywordCompatLint
impl Debug for JsonSchemaKeywordCompatLint
Source§impl LintRule for JsonSchemaKeywordCompatLint
impl LintRule for JsonSchemaKeywordCompatLint
fn definition(&self) -> &LintDefinition
fn check_list(&self, context: &ListLintContext<'_>) -> Vec<LintFinding>
fn check_response(&self, _context: &ResponseLintContext<'_>) -> Vec<LintFinding>
fn check_run(&self, _context: &RunLintContext<'_>) -> Vec<LintFinding>
Auto Trait Implementations§
impl Freeze for JsonSchemaKeywordCompatLint
impl RefUnwindSafe for JsonSchemaKeywordCompatLint
impl Send for JsonSchemaKeywordCompatLint
impl Sync for JsonSchemaKeywordCompatLint
impl Unpin for JsonSchemaKeywordCompatLint
impl UnwindSafe for JsonSchemaKeywordCompatLint
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