pub enum RequirementLevel {
Must,
MustNot,
Required,
Shall,
ShallNot,
Should,
ShouldNot,
Recommended,
May,
Optional,
}Expand description
Requirement Levels as specified in RFC2119
Variants§
Must
MUST
MustNot
MUST_NOT
Required
REQUIRED
Shall
SHALL
ShallNot
SHALL_NOT
Should
SHOULD
ShouldNot
SHOULD_NOT
Recommended
RECOMMENDED
May
MAY
Optional
OPTIONAL
Trait Implementations§
Source§impl Clone for RequirementLevel
impl Clone for RequirementLevel
Source§fn clone(&self) -> RequirementLevel
fn clone(&self) -> RequirementLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RequirementLevel
impl Debug for RequirementLevel
Source§impl PartialEq for RequirementLevel
impl PartialEq for RequirementLevel
impl Eq for RequirementLevel
impl StructuralPartialEq for RequirementLevel
Auto Trait Implementations§
impl Freeze for RequirementLevel
impl RefUnwindSafe for RequirementLevel
impl Send for RequirementLevel
impl Sync for RequirementLevel
impl Unpin for RequirementLevel
impl UnwindSafe for RequirementLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<S, P> TryProven<P> for Swhere
P: Predicate<S> + SyncEvaluablePredicate<S>,
impl<S, P> TryProven<P> for Swhere
P: Predicate<S> + SyncEvaluablePredicate<S>,
Source§type Err = ProvenError<S, <P as SyncEvaluablePredicate<S>>::EvalError>
type Err = ProvenError<S, <P as SyncEvaluablePredicate<S>>::EvalError>
Type of error.