pub struct SemanticLint {
pub severity: LintSeverity,
pub code: &'static str,
pub message: &'static str,
pub field: &'static str,
}Expand description
A semantic lint warning produced by analyzing field intents, mutation classes, and policy against a layout manifest.
Fields§
§severity: LintSeverityLint severity.
code: &'static strShort machine-readable code.
message: &'static strHuman-readable warning message.
field: &'static strField name involved (empty if layout-wide).
Trait Implementations§
Source§impl Clone for SemanticLint
impl Clone for SemanticLint
Source§fn clone(&self) -> SemanticLint
fn clone(&self) -> SemanticLint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SemanticLint
impl Debug for SemanticLint
Source§impl Display for SemanticLint
impl Display for SemanticLint
impl Copy for SemanticLint
Auto Trait Implementations§
impl Freeze for SemanticLint
impl RefUnwindSafe for SemanticLint
impl Send for SemanticLint
impl Sync for SemanticLint
impl Unpin for SemanticLint
impl UnsafeUnpin for SemanticLint
impl UnwindSafe for SemanticLint
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