#[non_exhaustive]pub struct DvgwIssue {
pub severity: Severity,
pub message: String,
pub rule_id: Option<&'static str>,
pub segment_tag: Option<&'static str>,
pub suggestion: Option<String>,
}Expand description
A single validation finding.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.severity: SeverityHow badly this breaks the message.
message: StringWhat is wrong, in prose.
rule_id: Option<&'static str>The stable rule identifier, e.g. "DVGW-RFF-Z13".
segment_tag: Option<&'static str>The EDIFACT segment tag the finding is about.
suggestion: Option<String>How to fix it.
Trait Implementations§
impl Eq for DvgwIssue
impl StructuralPartialEq for DvgwIssue
Auto Trait Implementations§
impl Freeze for DvgwIssue
impl RefUnwindSafe for DvgwIssue
impl Send for DvgwIssue
impl Sync for DvgwIssue
impl Unpin for DvgwIssue
impl UnsafeUnpin for DvgwIssue
impl UnwindSafe for DvgwIssue
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