pub struct ByField(pub Cow<'static, str>);Expand description
Group spans/events by the value of a particular field.
If a field by the contained name is found, its recorded value (usually its Debug value) is
used as the grouping identifier. If the field is not found, an empty String is used.
Tuple Fields§
§0: Cow<'static, str>Trait Implementations§
Source§impl EventGroup for ByField
impl EventGroup for ByField
impl Eq for ByField
impl StructuralPartialEq for ByField
Auto Trait Implementations§
impl Freeze for ByField
impl RefUnwindSafe for ByField
impl Send for ByField
impl Sync for ByField
impl Unpin for ByField
impl UnwindSafe for ByField
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.