pub struct ConstraintDesc {
pub code: IssueCode,
pub params: IssueParams,
}Expand description
One declared constraint as data — derived from the same check vector the kernels run, so introspection cannot drift from behavior.
Fields§
§code: IssueCodeStable constraint identifier.
params: IssueParamsConstraint parameters (e.g. the declared minimum).
Trait Implementations§
Source§impl Clone for ConstraintDesc
impl Clone for ConstraintDesc
Source§impl Debug for ConstraintDesc
impl Debug for ConstraintDesc
Source§impl PartialEq for ConstraintDesc
impl PartialEq for ConstraintDesc
impl StructuralPartialEq for ConstraintDesc
Auto Trait Implementations§
impl Freeze for ConstraintDesc
impl RefUnwindSafe for ConstraintDesc
impl Send for ConstraintDesc
impl Sync for ConstraintDesc
impl Unpin for ConstraintDesc
impl UnsafeUnpin for ConstraintDesc
impl UnwindSafe for ConstraintDesc
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