enum FieldsSpec {
Some(Vec<(Option<Ident>, TokenStream)>),
}
Variants§
Some(Vec<(Option<Ident>, TokenStream)>)
List of expressions for fields to be added to the tracing, with optional ident for filtering.
Trait Implementations§
Source§impl Clone for FieldsSpec
impl Clone for FieldsSpec
Source§fn clone(&self) -> FieldsSpec
fn clone(&self) -> FieldsSpec
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FieldsSpec
impl RefUnwindSafe for FieldsSpec
impl !Send for FieldsSpec
impl !Sync for FieldsSpec
impl Unpin for FieldsSpec
impl UnwindSafe for FieldsSpec
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