pub enum JoinFields {
Overwrite,
All(&'static str),
Some(&'static str, &'static [&'static str]),
}Expand description
Join fields with characters
Variants§
Overwrite
All nested span fields will overwrite parent span fields
All(&'static str)
All nested span fields will join with parent spans e.g JoinFields::All(“::”)
Some(&'static str, &'static [&'static str])
Only declared nested span fields will join with parent spans e.g. JoinFields(Some(“::”, &[“field_a”, “field_b”]))
Trait Implementations§
Source§impl Clone for JoinFields
impl Clone for JoinFields
Source§fn clone(&self) -> JoinFields
fn clone(&self) -> JoinFields
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 moreSource§impl Debug for JoinFields
impl Debug for JoinFields
Source§impl Default for JoinFields
impl Default for JoinFields
Source§fn default() -> JoinFields
fn default() -> JoinFields
Returns the “default value” for a type. Read more
impl Copy for JoinFields
Auto Trait Implementations§
impl Freeze for JoinFields
impl RefUnwindSafe for JoinFields
impl Send for JoinFields
impl Sync for JoinFields
impl Unpin for JoinFields
impl UnwindSafe for JoinFields
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