pub struct TraceSourceEvent {
pub name: String,
pub schema: Vec<TraceEventFieldMetadata>,
/* private fields */
}Expand description
TraceSourceEvent is a child of a TraceSource, which contains the schema for the event, as well as helpers for building and emitting new events for that schema.
Fields§
§name: String§schema: Vec<TraceEventFieldMetadata>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TraceSourceEvent
impl RefUnwindSafe for TraceSourceEvent
impl Send for TraceSourceEvent
impl Sync for TraceSourceEvent
impl Unpin for TraceSourceEvent
impl UnsafeUnpin for TraceSourceEvent
impl UnwindSafe for TraceSourceEvent
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