#[non_exhaustive]pub struct ConformanceIssue {
pub severity: Severity,
pub code: &'static str,
pub message: String,
}Expand description
A single conformance finding: a severity, a stable machine-readable code,
and a human-readable message.
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 serious the finding is.
code: &'static strStable dotted identifier for the check (e.g. media.tfdt.missing).
message: StringHuman-readable explanation, with the offending values.
Trait Implementations§
Source§impl Clone for ConformanceIssue
impl Clone for ConformanceIssue
Source§fn clone(&self) -> ConformanceIssue
fn clone(&self) -> ConformanceIssue
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 ConformanceIssue
impl Debug for ConformanceIssue
impl Eq for ConformanceIssue
Source§impl PartialEq for ConformanceIssue
impl PartialEq for ConformanceIssue
Source§impl Serialize for ConformanceIssue
impl Serialize for ConformanceIssue
impl StructuralPartialEq for ConformanceIssue
Auto Trait Implementations§
impl Freeze for ConformanceIssue
impl RefUnwindSafe for ConformanceIssue
impl Send for ConformanceIssue
impl Sync for ConformanceIssue
impl Unpin for ConformanceIssue
impl UnsafeUnpin for ConformanceIssue
impl UnwindSafe for ConformanceIssue
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