pub struct OtelRecord {
pub name: String,
pub trace_id: Option<String>,
pub span_id: Option<String>,
pub attributes: Map<String, Value>,
}Fields§
§name: String§trace_id: Option<String>§span_id: Option<String>§attributes: Map<String, Value>Trait Implementations§
Source§impl Clone for OtelRecord
impl Clone for OtelRecord
Source§fn clone(&self) -> OtelRecord
fn clone(&self) -> OtelRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OtelRecord
impl Debug for OtelRecord
Source§impl<'de> Deserialize<'de> for OtelRecord
impl<'de> Deserialize<'de> for OtelRecord
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 PartialEq for OtelRecord
impl PartialEq for OtelRecord
Source§impl Serialize for OtelRecord
impl Serialize for OtelRecord
impl StructuralPartialEq for OtelRecord
Auto Trait Implementations§
impl Freeze for OtelRecord
impl RefUnwindSafe for OtelRecord
impl Send for OtelRecord
impl Sync for OtelRecord
impl Unpin for OtelRecord
impl UnsafeUnpin for OtelRecord
impl UnwindSafe for OtelRecord
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