pub struct Entry {
pub name: &'static str,
pub kind: Kind,
pub status: CommandStatus,
pub title: &'static str,
pub explain: &'static str,
pub fix: &'static [&'static str],
}Expand description
One code of the catalog.
Fields§
§name: &'static strGIT-DIRTY: upper-case words joined by hyphens.
kind: KindError, stop or warning.
status: CommandStatusThe status results with this code have.
title: &'static strOne line: why it matters (lowercase start, no period).
explain: &'static strWhat it means and why it happens.
fix: &'static [&'static str]How to resolve it: commands ({task}, {feature}, {command} are
filled from the result), or → lines for a person.
Implementations§
Trait Implementations§
impl Copy for Entry
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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