pub enum VariableCategory {
Timestamp,
RequestId,
SessionId,
Locale,
Custom(String),
}Expand description
Category assigned to an extracted variable.
Variants§
Timestamp
Timestamp-like content such as ISO 8601 strings.
RequestId
Request or trace identifier content.
SessionId
Session identifier content.
Locale
Locale identifier content.
Custom(String)
Caller-defined variable category.
Trait Implementations§
Source§impl Clone for VariableCategory
impl Clone for VariableCategory
Source§fn clone(&self) -> VariableCategory
fn clone(&self) -> VariableCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VariableCategory
impl Debug for VariableCategory
Source§impl<'de> Deserialize<'de> for VariableCategory
impl<'de> Deserialize<'de> for VariableCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for VariableCategory
impl Hash for VariableCategory
Source§impl PartialEq for VariableCategory
impl PartialEq for VariableCategory
Source§fn eq(&self, other: &VariableCategory) -> bool
fn eq(&self, other: &VariableCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VariableCategory
impl Serialize for VariableCategory
impl Eq for VariableCategory
impl StructuralPartialEq for VariableCategory
Auto Trait Implementations§
impl Freeze for VariableCategory
impl RefUnwindSafe for VariableCategory
impl Send for VariableCategory
impl Sync for VariableCategory
impl Unpin for VariableCategory
impl UnsafeUnpin for VariableCategory
impl UnwindSafe for VariableCategory
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