pub struct McpSchemaMinVersionLint { /* private fields */ }Expand description
Lint: enforces a minimum MCP protocol version based on initialize response.
Implementations§
Trait Implementations§
Source§impl Clone for McpSchemaMinVersionLint
impl Clone for McpSchemaMinVersionLint
Source§fn clone(&self) -> McpSchemaMinVersionLint
fn clone(&self) -> McpSchemaMinVersionLint
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 McpSchemaMinVersionLint
impl Debug for McpSchemaMinVersionLint
Source§impl LintRule for McpSchemaMinVersionLint
impl LintRule for McpSchemaMinVersionLint
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 McpSchemaMinVersionLint
impl RefUnwindSafe for McpSchemaMinVersionLint
impl Send for McpSchemaMinVersionLint
impl Sync for McpSchemaMinVersionLint
impl Unpin for McpSchemaMinVersionLint
impl UnsafeUnpin for McpSchemaMinVersionLint
impl UnwindSafe for McpSchemaMinVersionLint
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