pub enum Level {
Must,
Should,
May,
ShouldNot,
MustNot,
}Expand description
A requirement level, as the standard words it (RFC 2119; German texts use MUSS, SOLLTE, KANN, SOLLTE NICHT, DARF NICHT).
Variants§
Must
MUST / MUSS.
Should
SHOULD / SOLLTE, EMPFOHLEN.
May
MAY / KANN, or the standard does not say.
ShouldNot
SHOULD NOT / SOLLTE NICHT.
MustNot
MUST NOT / DARF NICHT.
Trait Implementations§
impl Copy for Level
impl Eq for Level
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Forget for Level
impl Freeze for Level
impl Move for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnsafeUnpin for Level
impl UnwindSafe for Level
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