pub struct Help {
pub code: &'static str,
pub path: String,
pub field: String,
pub docs: &'static str,
pub note: Option<String>,
pub remedies: Vec<Remedy>,
}Expand description
Help for one warning.
Fields§
§code: &'static str§path: StringThe path of the warning.
field: StringThe field of the specification the help is about: where to look first.
docs: &'static strThe documentation page, relative to the root of the site.
note: Option<String>§remedies: Vec<Remedy>Implementations§
Trait Implementations§
impl StructuralPartialEq for Help
Auto Trait Implementations§
impl Freeze for Help
impl RefUnwindSafe for Help
impl Send for Help
impl Sync for Help
impl Unpin for Help
impl UnsafeUnpin for Help
impl UnwindSafe for Help
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