pub struct TextFxDiagnostic {
pub severity: TextFxDiagnosticSeverity,
pub code: String,
pub message: String,
pub id: Option<String>,
}Fields§
§severity: TextFxDiagnosticSeverity§code: String§message: String§id: Option<String>Trait Implementations§
Source§impl Clone for TextFxDiagnostic
impl Clone for TextFxDiagnostic
Source§fn clone(&self) -> TextFxDiagnostic
fn clone(&self) -> TextFxDiagnostic
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 TextFxDiagnostic
impl Debug for TextFxDiagnostic
Source§impl<'de> Deserialize<'de> for TextFxDiagnostic
impl<'de> Deserialize<'de> for TextFxDiagnostic
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
impl Eq for TextFxDiagnostic
Source§impl PartialEq for TextFxDiagnostic
impl PartialEq for TextFxDiagnostic
Source§fn eq(&self, other: &TextFxDiagnostic) -> bool
fn eq(&self, other: &TextFxDiagnostic) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextFxDiagnostic
impl Serialize for TextFxDiagnostic
impl StructuralPartialEq for TextFxDiagnostic
Auto Trait Implementations§
impl Freeze for TextFxDiagnostic
impl RefUnwindSafe for TextFxDiagnostic
impl Send for TextFxDiagnostic
impl Sync for TextFxDiagnostic
impl Unpin for TextFxDiagnostic
impl UnsafeUnpin for TextFxDiagnostic
impl UnwindSafe for TextFxDiagnostic
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