pub struct DeferredRule {
pub id: RuleId,
pub capability: String,
pub reason: String,
}Expand description
A compiled rule the engine cannot execute as authored.
Carried in the plan so every run reports it as not evaluated; dropping it would make an unexecuted requirement indistinguishable from a satisfied one.
Fields§
§id: RuleIdPackage-local stable rule ID.
capability: StringRegistered capability ID.
reason: StringWhy the rule cannot run as authored.
Trait Implementations§
Source§impl Clone for DeferredRule
impl Clone for DeferredRule
Source§impl Debug for DeferredRule
impl Debug for DeferredRule
impl Eq for DeferredRule
Source§impl PartialEq for DeferredRule
impl PartialEq for DeferredRule
impl StructuralPartialEq for DeferredRule
Auto Trait Implementations§
impl Freeze for DeferredRule
impl RefUnwindSafe for DeferredRule
impl Send for DeferredRule
impl Sync for DeferredRule
impl Unpin for DeferredRule
impl UnsafeUnpin for DeferredRule
impl UnwindSafe for DeferredRule
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