pub struct PluginDiagnosticWire {
pub code: String,
pub severity: String,
pub message: String,
pub file: String,
pub line: Option<u64>,
pub column: Option<u64>,
pub entity_iri: Option<String>,
}Fields§
§code: String§severity: String§message: String§file: String§line: Option<u64>§column: Option<u64>§entity_iri: Option<String>Implementations§
Source§impl PluginDiagnosticWire
impl PluginDiagnosticWire
pub fn into_diagnostic(self, plugin_id: &str, workspace: &Path) -> Diagnostic
Trait Implementations§
Source§impl Clone for PluginDiagnosticWire
impl Clone for PluginDiagnosticWire
Source§fn clone(&self) -> PluginDiagnosticWire
fn clone(&self) -> PluginDiagnosticWire
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 PluginDiagnosticWire
impl Debug for PluginDiagnosticWire
Source§impl<'de> Deserialize<'de> for PluginDiagnosticWire
impl<'de> Deserialize<'de> for PluginDiagnosticWire
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
Auto Trait Implementations§
impl Freeze for PluginDiagnosticWire
impl RefUnwindSafe for PluginDiagnosticWire
impl Send for PluginDiagnosticWire
impl Sync for PluginDiagnosticWire
impl Unpin for PluginDiagnosticWire
impl UnsafeUnpin for PluginDiagnosticWire
impl UnwindSafe for PluginDiagnosticWire
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