Struct tracing_capture::predicates::FieldPredicate
source · pub struct FieldPredicate<P> { /* private fields */ }
Expand description
Predicate for a particular field of a CapturedSpan
or CapturedEvent
returned by
the field()
function.
Trait Implementations§
source§impl<Rhs, P> BitAnd<Rhs> for FieldPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, P> BitAnd<Rhs> for FieldPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<Rhs, P> BitOr<Rhs> for FieldPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, P> BitOr<Rhs> for FieldPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<P: Clone> Clone for FieldPredicate<P>
impl<P: Clone> Clone for FieldPredicate<P>
source§fn clone(&self) -> FieldPredicate<P>
fn clone(&self) -> FieldPredicate<P>
Returns a copy 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 moresource§impl<P: Debug> Debug for FieldPredicate<P>
impl<P: Debug> Debug for FieldPredicate<P>
source§impl<P: Predicate<TracedValue>> Display for FieldPredicate<P>
impl<P: Predicate<TracedValue>> Display for FieldPredicate<P>
source§impl<P: PartialEq> PartialEq for FieldPredicate<P>
impl<P: PartialEq> PartialEq for FieldPredicate<P>
source§fn eq(&self, other: &FieldPredicate<P>) -> bool
fn eq(&self, other: &FieldPredicate<P>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a, P: Predicate<TracedValue>, T: Captured<'a>> Predicate<T> for FieldPredicate<P>
impl<'a, P: Predicate<TracedValue>, T: Captured<'a>> Predicate<T> for FieldPredicate<P>
source§impl<P: Predicate<TracedValue>> PredicateReflection for FieldPredicate<P>
impl<P: Predicate<TracedValue>> PredicateReflection for FieldPredicate<P>
impl<P: Copy> Copy for FieldPredicate<P>
impl<P: Eq> Eq for FieldPredicate<P>
impl<P> StructuralPartialEq for FieldPredicate<P>
Auto Trait Implementations§
impl<P> Freeze for FieldPredicate<P>where
P: Freeze,
impl<P> RefUnwindSafe for FieldPredicate<P>where
P: RefUnwindSafe,
impl<P> Send for FieldPredicate<P>where
P: Send,
impl<P> Sync for FieldPredicate<P>where
P: Sync,
impl<P> Unpin for FieldPredicate<P>where
P: Unpin,
impl<P> UnwindSafe for FieldPredicate<P>where
P: UnwindSafe,
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
§impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
§fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
Compute the logical AND of two
Predicate
results, returning the result. Read more