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