pub struct RustcCode {
pub code: String,
pub explanation: Option<String>,
}Expand description
Error code from rustc
Fields§
§code: StringError code (e.g., “E0425”)
explanation: Option<String>Long explanation text (optional)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RustcCode
impl<'de> Deserialize<'de> for RustcCode
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 RustcCode
impl StructuralPartialEq for RustcCode
Auto Trait Implementations§
impl Freeze for RustcCode
impl RefUnwindSafe for RustcCode
impl Send for RustcCode
impl Sync for RustcCode
impl Unpin for RustcCode
impl UnwindSafe for RustcCode
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