pub struct LintFinding {
pub severity: Severity,
pub rule: String,
pub sheet: String,
pub cell: Option<String>,
pub message: String,
pub repair: String,
}Expand description
A single located dialect finding (DIA-02). The rule is a stable
slash-namespaced id (e.g. "whitelist/unsupported-fn",
"structure/hidden-sheet", "manifest/role-conflict"); repair carries
BA-actionable fix text so a non-engineer can act without a round-trip.
Fields§
§severity: SeverityThe conformance-gating tier (only Error blocks; D-05).
rule: StringStable slash-namespaced rule id (<namespace>/<kebab-rule>).
sheet: StringThe sheet the finding is located on (e.g. "1_Inputs").
cell: Option<String>The optional cell address within sheet (e.g. "E6"); None for a
sheet- or workbook-level finding.
message: StringHuman-readable description of what was found.
repair: StringBA-actionable repair text describing how to fix the finding.
Implementations§
Trait Implementations§
Source§impl Clone for LintFinding
impl Clone for LintFinding
Source§fn clone(&self) -> LintFinding
fn clone(&self) -> LintFinding
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 LintFinding
impl Debug for LintFinding
Source§impl<'de> Deserialize<'de> for LintFinding
impl<'de> Deserialize<'de> for LintFinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for LintFinding
impl JsonSchema for LintFinding
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for LintFinding
impl RefUnwindSafe for LintFinding
impl Send for LintFinding
impl Sync for LintFinding
impl Unpin for LintFinding
impl UnsafeUnpin for LintFinding
impl UnwindSafe for LintFinding
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