pub struct SpanFilter<'a> {
pub name: &'a str,
pub fields: Option<FieldFilters<'a>>,
}
Expand description
A single span filter, [span{field=value}]
.
Field directives are not parsed/validated until pulled.
Fields§
§name: &'a str
§fields: Option<FieldFilters<'a>>
Trait Implementations§
Source§impl<'a> Clone for SpanFilter<'a>
impl<'a> Clone for SpanFilter<'a>
Source§fn clone(&self) -> SpanFilter<'a>
fn clone(&self) -> SpanFilter<'a>
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<'a> Debug for SpanFilter<'a>
impl<'a> Debug for SpanFilter<'a>
Source§impl<'a> TryFrom<SpanFilter<'a>> for SpanFilter<'a>
impl<'a> TryFrom<SpanFilter<'a>> for SpanFilter<'a>
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<'a> Freeze for SpanFilter<'a>
impl<'a> RefUnwindSafe for SpanFilter<'a>
impl<'a> Send for SpanFilter<'a>
impl<'a> Sync for SpanFilter<'a>
impl<'a> Unpin for SpanFilter<'a>
impl<'a> UnwindSafe for SpanFilter<'a>
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