pub struct OtlpEvent {
pub name: String,
pub time_unix_nano: String,
pub attributes: Vec<OtlpAttribute>,
}Expand description
A timed event within a span.
Fields§
§name: StringEvent name.
time_unix_nano: StringEvent time as nanoseconds since the Unix epoch (string).
attributes: Vec<OtlpAttribute>Event-specific attributes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OtlpEvent
impl<'de> Deserialize<'de> for OtlpEvent
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
impl StructuralPartialEq for OtlpEvent
Auto Trait Implementations§
impl Freeze for OtlpEvent
impl RefUnwindSafe for OtlpEvent
impl Send for OtlpEvent
impl Sync for OtlpEvent
impl Unpin for OtlpEvent
impl UnsafeUnpin for OtlpEvent
impl UnwindSafe for OtlpEvent
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