pub struct CodeGraphDiagnostic {
pub severity: CodeGraphSeverity,
pub code: String,
pub message: String,
pub path: Option<String>,
pub logical_key: Option<String>,
}Fields§
§severity: CodeGraphSeverity§code: String§message: String§path: Option<String>§logical_key: Option<String>Trait Implementations§
Source§impl Clone for CodeGraphDiagnostic
impl Clone for CodeGraphDiagnostic
Source§fn clone(&self) -> CodeGraphDiagnostic
fn clone(&self) -> CodeGraphDiagnostic
Returns a duplicate of the value. Read more
1.0.0 · 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 CodeGraphDiagnostic
impl Debug for CodeGraphDiagnostic
Source§impl<'de> Deserialize<'de> for CodeGraphDiagnostic
impl<'de> Deserialize<'de> for CodeGraphDiagnostic
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeGraphDiagnostic, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeGraphDiagnostic, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CodeGraphDiagnostic
impl PartialEq for CodeGraphDiagnostic
Source§impl Serialize for CodeGraphDiagnostic
impl Serialize for CodeGraphDiagnostic
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for CodeGraphDiagnostic
impl StructuralPartialEq for CodeGraphDiagnostic
Auto Trait Implementations§
impl Freeze for CodeGraphDiagnostic
impl RefUnwindSafe for CodeGraphDiagnostic
impl Send for CodeGraphDiagnostic
impl Sync for CodeGraphDiagnostic
impl Unpin for CodeGraphDiagnostic
impl UnsafeUnpin for CodeGraphDiagnostic
impl UnwindSafe for CodeGraphDiagnostic
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