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§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<P, Item> PredicateBooleanExt<Item> for P
impl<P, Item> PredicateBooleanExt<Item> for P
Source§fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>
Compute the logical AND of two
Predicate
results, returning the result. Read moreSource§fn or<B>(self, other: B) -> OrPredicate<Self, B, Item>
fn or<B>(self, other: B) -> OrPredicate<Self, B, Item>
Compute the logical OR of two
Predicate
results, returning the result. Read more