pub struct InvariantCheck {
pub name: String,
pub description: String,
}Expand description
A single invariant check
Fields§
§name: StringName of the invariant
description: StringDescription of what the invariant checks
Implementations§
Trait Implementations§
Source§impl Clone for InvariantCheck
impl Clone for InvariantCheck
Source§fn clone(&self) -> InvariantCheck
fn clone(&self) -> InvariantCheck
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 moreAuto Trait Implementations§
impl Freeze for InvariantCheck
impl RefUnwindSafe for InvariantCheck
impl Send for InvariantCheck
impl Sync for InvariantCheck
impl Unpin for InvariantCheck
impl UnsafeUnpin for InvariantCheck
impl UnwindSafe for InvariantCheck
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