pub struct CapabilityNotEvaluated { /* private fields */ }Expand description
A not-evaluated outcome before the runtime binds its compiled rule ID.
Implementations§
Source§impl CapabilityNotEvaluated
impl CapabilityNotEvaluated
Sourcepub fn object_id(&self) -> Option<&ObjectId>
pub fn object_id(&self) -> Option<&ObjectId>
The object that could not be evaluated, if the outcome is about one.
Sourcepub fn scope(&self) -> &Scope
pub fn scope(&self) -> &Scope
What could not be evaluated: an object, a source, or the whole rule.
pub fn reason(&self) -> &NotEvaluatedReason
pub fn message(&self) -> &str
Sourcepub fn location(&self) -> Option<&Location>
pub fn location(&self) -> Option<&Location>
Where the outcome’s object lies, once an OutcomeRefiner located
it.
Sourcepub fn set_location(&mut self, location: Location)
pub fn set_location(&mut self, location: Location)
Locates the outcome; for an OutcomeRefiner.
Trait Implementations§
Source§impl Clone for CapabilityNotEvaluated
impl Clone for CapabilityNotEvaluated
Source§impl Debug for CapabilityNotEvaluated
impl Debug for CapabilityNotEvaluated
Source§impl PartialEq for CapabilityNotEvaluated
impl PartialEq for CapabilityNotEvaluated
impl StructuralPartialEq for CapabilityNotEvaluated
Auto Trait Implementations§
impl Freeze for CapabilityNotEvaluated
impl RefUnwindSafe for CapabilityNotEvaluated
impl Send for CapabilityNotEvaluated
impl Sync for CapabilityNotEvaluated
impl Unpin for CapabilityNotEvaluated
impl UnsafeUnpin for CapabilityNotEvaluated
impl UnwindSafe for CapabilityNotEvaluated
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