pub struct TransformDiagnostic {
pub code: TransformDiagnosticCode,
pub transform: &'static str,
pub message: String,
}Expand description
A single diagnostic emitted by a transform, tagged with its origin.
Fields§
§code: TransformDiagnosticCodeMachine-readable classification of the problem.
transform: &'static strName of the transform that produced the diagnostic.
message: StringHuman-readable description of the problem.
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