pub struct SerializeMetadata<'a> {
pub name: CowString<'a>,
pub target: CowString<'a>,
pub level: SerializeLevel,
pub module_path: Option<CowString<'a>>,
pub file: Option<CowString<'a>>,
pub line: Option<u32>,
pub fields: SerializeFieldSet<'a>,
pub is_span: bool,
pub is_event: bool,
}
Fields§
§name: CowString<'a>
§target: CowString<'a>
§level: SerializeLevel
§module_path: Option<CowString<'a>>
§file: Option<CowString<'a>>
§line: Option<u32>
§fields: SerializeFieldSet<'a>
§is_span: bool
§is_event: bool
Implementations§
source§impl<'a> SerializeMetadata<'a>
impl<'a> SerializeMetadata<'a>
pub fn to_owned(&self) -> SerializeMetadata<'static>
Trait Implementations§
source§impl<'a> Debug for SerializeMetadata<'a>
impl<'a> Debug for SerializeMetadata<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for SerializeMetadata<'a>
impl<'de: 'a, 'a> Deserialize<'de> for SerializeMetadata<'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> Serialize for SerializeMetadata<'a>
impl<'a> Serialize for SerializeMetadata<'a>
impl Send for SerializeMetadata<'static>
SAFETY: If all data is ’static and/or owned, it is safe to send between threads.
Auto Trait Implementations§
impl<'a> Freeze for SerializeMetadata<'a>
impl<'a> !RefUnwindSafe for SerializeMetadata<'a>
impl<'a> Sync for SerializeMetadata<'a>
impl<'a> Unpin for SerializeMetadata<'a>
impl<'a> !UnwindSafe for SerializeMetadata<'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