pub struct FormatDiagnostic {
pub line: i64,
pub code: String,
pub message: String,
}Expand description
A note about one formatting run (line is -1 for the whole text).
Fields§
§line: i64§code: String§message: StringTrait Implementations§
Source§impl Clone for FormatDiagnostic
impl Clone for FormatDiagnostic
Source§impl Debug for FormatDiagnostic
impl Debug for FormatDiagnostic
Source§impl<'de> Deserialize<'de> for FormatDiagnostic
impl<'de> Deserialize<'de> for FormatDiagnostic
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 FormatDiagnostic
Source§impl PartialEq for FormatDiagnostic
impl PartialEq for FormatDiagnostic
Source§impl Serialize for FormatDiagnostic
impl Serialize for FormatDiagnostic
impl StructuralPartialEq for FormatDiagnostic
Auto Trait Implementations§
impl Forget for FormatDiagnostic
impl Freeze for FormatDiagnostic
impl Move for FormatDiagnostic
impl RefUnwindSafe for FormatDiagnostic
impl Send for FormatDiagnosticwhere
RawVecInner: Send,
impl Sync for FormatDiagnosticwhere
RawVecInner: Sync,
impl Unpin for FormatDiagnostic
impl UnsafeUnpin for FormatDiagnostic
impl UnwindSafe for FormatDiagnosticwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.