pub struct IdempotencyRule;Trait Implementations§
Source§impl Rule for IdempotencyRule
impl Rule for IdempotencyRule
fn id(&self) -> &'static str
fn default_tier(&self) -> ViolationTier
fn recipe(&self) -> &'static str
fn evaluate( &self, mutation: &Mutation, _result: &MutationResult, _pre_relations: &HashMap<ObjectId, RelationState>, _state: &AnalysisState, _config: &Config, _cascade: Option<&CascadeResult>, ) -> Vec<Violation>
Auto Trait Implementations§
impl Freeze for IdempotencyRule
impl RefUnwindSafe for IdempotencyRule
impl Send for IdempotencyRule
impl Sync for IdempotencyRule
impl Unpin for IdempotencyRule
impl UnsafeUnpin for IdempotencyRule
impl UnwindSafe for IdempotencyRule
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> 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 more