pub struct InspectionIssue {
pub code: InspectionIssueCode,
pub severity: InspectionSeverity,
pub detail: String,
pub path: Option<PathBuf>,
pub metadata_key: Option<String>,
pub tensor_name: Option<String>,
pub tensor_type_code: Option<u32>,
}Expand description
One structured diagnostic produced by inspection.
Fields§
§code: InspectionIssueCodeStable category for routing and UI behavior.
severity: InspectionSeverityDiagnostic severity.
detail: StringHuman-readable actionable detail.
path: Option<PathBuf>Relevant artifact or sidecar path.
metadata_key: Option<String>Relevant metadata key.
tensor_name: Option<String>Relevant logical or physical tensor name.
tensor_type_code: Option<u32>Relevant numeric tensor type code.
Trait Implementations§
Source§impl Clone for InspectionIssue
impl Clone for InspectionIssue
Source§fn clone(&self) -> InspectionIssue
fn clone(&self) -> InspectionIssue
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 InspectionIssue
impl Debug for InspectionIssue
Source§impl<'de> Deserialize<'de> for InspectionIssue
impl<'de> Deserialize<'de> for InspectionIssue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InspectionIssue
Source§impl PartialEq for InspectionIssue
impl PartialEq for InspectionIssue
Source§impl Serialize for InspectionIssue
impl Serialize for InspectionIssue
impl StructuralPartialEq for InspectionIssue
Auto Trait Implementations§
impl Freeze for InspectionIssue
impl RefUnwindSafe for InspectionIssue
impl Send for InspectionIssue
impl Sync for InspectionIssue
impl Unpin for InspectionIssue
impl UnsafeUnpin for InspectionIssue
impl UnwindSafe for InspectionIssue
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