pub struct MissingStructuredContentLint { /* private fields */ }Expand description
Lint: reports missing structuredContent when an output schema exists.
Implementations§
Source§impl MissingStructuredContentLint
impl MissingStructuredContentLint
pub fn new(definition: LintDefinition) -> Self
Trait Implementations§
Source§impl Clone for MissingStructuredContentLint
impl Clone for MissingStructuredContentLint
Source§fn clone(&self) -> MissingStructuredContentLint
fn clone(&self) -> MissingStructuredContentLint
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 MissingStructuredContentLint
impl Debug for MissingStructuredContentLint
Source§impl LintRule for MissingStructuredContentLint
impl LintRule for MissingStructuredContentLint
fn definition(&self) -> &LintDefinition
fn check_response(&self, context: &ResponseLintContext<'_>) -> Vec<LintFinding>
fn check_list(&self, _context: &ListLintContext<'_>) -> Vec<LintFinding>
fn check_run(&self, _context: &RunLintContext<'_>) -> Vec<LintFinding>
Auto Trait Implementations§
impl Freeze for MissingStructuredContentLint
impl RefUnwindSafe for MissingStructuredContentLint
impl Send for MissingStructuredContentLint
impl Sync for MissingStructuredContentLint
impl Unpin for MissingStructuredContentLint
impl UnsafeUnpin for MissingStructuredContentLint
impl UnwindSafe for MissingStructuredContentLint
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