pub struct Finding<'model, 'document> {
pub location: Original<'model, 'document>,
pub severity: Severity,
pub rule: Rule,
}Expand description
One located mandatory rule or advisory. A SHOULD is not a failed SHALL.
Fields§
§location: Original<'model, 'document>Original attribute/container coordinates and identity.
severity: SeverityNormative strength of this finding.
rule: RuleThe format requirement, distinct from a processing refusal.
Trait Implementations§
Auto Trait Implementations§
impl<'model, 'document> !RefUnwindSafe for Finding<'model, 'document>
impl<'model, 'document> !Send for Finding<'model, 'document>
impl<'model, 'document> !Sync for Finding<'model, 'document>
impl<'model, 'document> !UnwindSafe for Finding<'model, 'document>
impl<'model, 'document> Freeze for Finding<'model, 'document>
impl<'model, 'document> Unpin for Finding<'model, 'document>
impl<'model, 'document> UnsafeUnpin for Finding<'model, 'document>
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