pub struct PredicateOutcome {
pub predicate: String,
pub matched: bool,
}Expand description
The outcome of one predicate within a SignatureExplanation.
Fields§
§predicate: StringHuman description of the predicate (for example field_present(ecs.version)).
matched: boolWhether the predicate held for the event.
Trait Implementations§
Source§impl Clone for PredicateOutcome
impl Clone for PredicateOutcome
Source§fn clone(&self) -> PredicateOutcome
fn clone(&self) -> PredicateOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PredicateOutcome
impl Debug for PredicateOutcome
Auto Trait Implementations§
impl Freeze for PredicateOutcome
impl RefUnwindSafe for PredicateOutcome
impl Send for PredicateOutcome
impl Sync for PredicateOutcome
impl Unpin for PredicateOutcome
impl UnsafeUnpin for PredicateOutcome
impl UnwindSafe for PredicateOutcome
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