Skip to main content

IssueView

Trait IssueView 

Source
pub trait IssueView {
    // Required methods
    fn name(&self) -> &str;
    fn location(&self, issue: &ValidationIssue) -> Option<String>;
}
Expand description

Which world an issue is addressed in.

Required Methods§

Source

fn name(&self) -> &str

Short name, suitable as a tab label: "EDIFACT", "BO4E".

Source

fn location(&self, issue: &ValidationIssue) -> Option<String>

The issue’s location in this world, or None if it has none here.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§