pub struct ValidationIssue {
pub example_id: String,
pub severity: IssueSeverity,
pub message: String,
pub line_number: Option<usize>,
pub suggestion: Option<String>,
}Expand description
A single validation issue found in a dataset example.
Fields§
§example_id: StringID of the example where the issue was found.
severity: IssueSeveritySeverity of the issue.
message: StringHuman-readable description of the issue.
line_number: Option<usize>Optional line number where the issue was found.
suggestion: Option<String>Optional suggestion for how to fix 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