pub struct JsonSchemaDialectCompatLint { /* private fields */ }Expand description
Lint: validates tool schema dialects against an allowlist.
Implementations§
Source§impl JsonSchemaDialectCompatLint
impl JsonSchemaDialectCompatLint
pub fn new( definition: LintDefinition, allowlist: impl IntoIterator<Item = String>, ) -> Self
Trait Implementations§
Source§impl Clone for JsonSchemaDialectCompatLint
impl Clone for JsonSchemaDialectCompatLint
Source§fn clone(&self) -> JsonSchemaDialectCompatLint
fn clone(&self) -> JsonSchemaDialectCompatLint
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 JsonSchemaDialectCompatLint
impl Debug for JsonSchemaDialectCompatLint
Source§impl LintRule for JsonSchemaDialectCompatLint
impl LintRule for JsonSchemaDialectCompatLint
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 JsonSchemaDialectCompatLint
impl RefUnwindSafe for JsonSchemaDialectCompatLint
impl Send for JsonSchemaDialectCompatLint
impl Sync for JsonSchemaDialectCompatLint
impl Unpin for JsonSchemaDialectCompatLint
impl UnsafeUnpin for JsonSchemaDialectCompatLint
impl UnwindSafe for JsonSchemaDialectCompatLint
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