Enum git_checks_core::Severity
source · [−]pub enum Severity {
Warning,
Error,
Alert {
blocking: bool,
},
}
Expand description
The severity of a message.
Variants
Warning
The message is a warning.
Error
The message is an error.
Alert
Fields
blocking: bool
Whether the checks should fail due to the message or not.
The message should be brought to the attention of project maintainers.
Auto Trait Implementations
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnwindSafe for Severity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more