pub enum SerializeSpanFields<'a> {
Ser(&'a ValueSet<'a>),
De(BTreeMap<CowString<'a>, SerializeValue<'a>>),
}
Variants§
Implementations§
source§impl<'a> SerializeSpanFields<'a>
impl<'a> SerializeSpanFields<'a>
pub fn to_owned(&self) -> SerializeSpanFields<'static>
Trait Implementations§
source§impl<'a> Debug for SerializeSpanFields<'a>
impl<'a> Debug for SerializeSpanFields<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for SerializeSpanFields<'a>
impl<'de: 'a, 'a> Deserialize<'de> for SerializeSpanFields<'a>
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<'a> From<BTreeMap<CowString<'a>, SerializeValue<'a>>> for SerializeSpanFields<'a>
impl<'a> From<BTreeMap<CowString<'a>, SerializeValue<'a>>> for SerializeSpanFields<'a>
source§impl<'a> Serialize for SerializeSpanFields<'a>
impl<'a> Serialize for SerializeSpanFields<'a>
impl Send for SerializeSpanFields<'static>
SAFETY: If all data is ’static and/or owned, it is safe to send between threads.
Auto Trait Implementations§
impl<'a> Freeze for SerializeSpanFields<'a>
impl<'a> !RefUnwindSafe for SerializeSpanFields<'a>
impl<'a> !Sync for SerializeSpanFields<'a>
impl<'a> Unpin for SerializeSpanFields<'a>
impl<'a> !UnwindSafe for SerializeSpanFields<'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