pub struct PluginDiagnostic {
pub kind: PluginDiagnosticKind,
pub path: Option<PathBuf>,
pub message: String,
}Expand description
A non-fatal issue scoped to the narrowest affected package component.
Fields§
§kind: PluginDiagnosticKind§path: Option<PathBuf>§message: StringTrait Implementations§
Source§impl Clone for PluginDiagnostic
impl Clone for PluginDiagnostic
Source§fn clone(&self) -> PluginDiagnostic
fn clone(&self) -> PluginDiagnostic
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 PluginDiagnostic
impl Debug for PluginDiagnostic
impl Eq for PluginDiagnostic
Source§impl PartialEq for PluginDiagnostic
impl PartialEq for PluginDiagnostic
impl StructuralPartialEq for PluginDiagnostic
Auto Trait Implementations§
impl Freeze for PluginDiagnostic
impl RefUnwindSafe for PluginDiagnostic
impl Send for PluginDiagnostic
impl Sync for PluginDiagnostic
impl Unpin for PluginDiagnostic
impl UnsafeUnpin for PluginDiagnostic
impl UnwindSafe for PluginDiagnostic
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