pub struct TransformDiagnostic {
pub kind: TransformDiagnosticKind,
pub field: String,
pub reason: String,
}Expand description
A structured, non-fatal semantic loss reported by a transform.
Fields§
§kind: TransformDiagnosticKindDiagnostic category suitable for programmatic policy decisions.
field: StringProvider-relative semantic field path affected by the conversion.
reason: StringHuman-readable explanation of the loss or approximation.
Implementations§
Trait Implementations§
Source§impl Clone for TransformDiagnostic
impl Clone for TransformDiagnostic
Source§fn clone(&self) -> TransformDiagnostic
fn clone(&self) -> TransformDiagnostic
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 TransformDiagnostic
impl Debug for TransformDiagnostic
impl Eq for TransformDiagnostic
Source§impl PartialEq for TransformDiagnostic
impl PartialEq for TransformDiagnostic
impl StructuralPartialEq for TransformDiagnostic
Auto Trait Implementations§
impl Freeze for TransformDiagnostic
impl RefUnwindSafe for TransformDiagnostic
impl Send for TransformDiagnostic
impl Sync for TransformDiagnostic
impl Unpin for TransformDiagnostic
impl UnsafeUnpin for TransformDiagnostic
impl UnwindSafe for TransformDiagnostic
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