pub struct Finding {
pub kind: FindingKind,
pub message: String,
pub pattern_id: Option<String>,
pub assertion_id: Option<String>,
pub role: Option<String>,
pub location_id: String,
pub context_name: String,
}Expand description
One finding from a Schematron validation run.
Fields§
§kind: FindingKind§message: String§pattern_id: Option<String>pattern.id of the pattern that fired. None for
patterns with no id.
assertion_id: Option<String>§role: Option<String>§location_id: Stringgenerate-id()-style stable id for the node where the
rule fired.
context_name: StringLocal-name of the offending node — handy for diagnostic messages.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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