pub struct ValidationIssue {
pub level: IssueLevel,
pub location: IssueLocation,
pub field: Option<String>,
pub message: String,
}Expand description
A single validation finding with severity level and location.
Each issue identifies where the problem was found, its severity, the specific field (if applicable), and a human-readable message.
Fields§
§level: IssueLevelWhether this is an error or a warning.
location: IssueLocationWhere the issue was found (file, repo, or main section).
field: Option<String>The specific option field name (e.g., "baseurl", "gpgkey"), if applicable.
message: StringA human-readable description of the issue.
Trait Implementations§
Source§impl Clone for ValidationIssue
impl Clone for ValidationIssue
Source§fn clone(&self) -> ValidationIssue
fn clone(&self) -> ValidationIssue
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 moreAuto Trait Implementations§
impl Freeze for ValidationIssue
impl RefUnwindSafe for ValidationIssue
impl Send for ValidationIssue
impl Sync for ValidationIssue
impl Unpin for ValidationIssue
impl UnsafeUnpin for ValidationIssue
impl UnwindSafe for ValidationIssue
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