pub struct SiftingLayerSelectorValues {
pub level: Option<Level>,
pub name: Option<&'static str>,
pub target: Option<String>,
pub module_path: Option<String>,
pub file: Option<String>,
pub line: Option<u32>,
pub field_values: Vec<Option<String>>,
}Expand description
Given a Selector, Values contains the values of a certain span.
Fields§
§level: Option<Level>§name: Option<&'static str>§target: Option<String>§module_path: Option<String>§file: Option<String>§line: Option<u32>§field_values: Vec<Option<String>>Implementations§
Source§impl Values
impl Values
pub fn new<S>(sift_selector: &Selector, span: Option<SpanRef<'_, S>>) -> Selfwhere
S: Subscriber + for<'lookup> LookupSpan<'lookup>,
Trait Implementations§
impl Eq for Values
impl StructuralPartialEq for Values
Auto Trait Implementations§
impl Freeze for Values
impl RefUnwindSafe for Values
impl Send for Values
impl Sync for Values
impl Unpin for Values
impl UnsafeUnpin for Values
impl UnwindSafe for Values
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.