pub struct TraceAttachmentMeta {
pub trace_id: Annotated<TraceId>,
pub attachment_id: Annotated<Uuid>,
pub timestamp: Annotated<Timestamp>,
pub filename: Annotated<String>,
pub content_type: Annotated<String>,
pub attributes: Annotated<Attributes>,
pub other: Object<Value>,
}Expand description
Metadata for a trace attachment.
Fields§
§trace_id: Annotated<TraceId>The ID of the trace that the attachment belongs to.
attachment_id: Annotated<Uuid>Unique identifier for this attachment.
timestamp: Annotated<Timestamp>Timestamp when the attachment was created.
filename: Annotated<String>Original filename of the attachment.
content_type: Annotated<String>Content type of the attachment body.
attributes: Annotated<Attributes>Arbitrary attributes on a trace attachment.
other: Object<Value>Additional arbitrary fields for forwards compatibility.
Trait Implementations§
Source§impl Clone for TraceAttachmentMeta
impl Clone for TraceAttachmentMeta
Source§fn clone(&self) -> TraceAttachmentMeta
fn clone(&self) -> TraceAttachmentMeta
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 TraceAttachmentMeta
impl Debug for TraceAttachmentMeta
Source§impl Default for TraceAttachmentMeta
impl Default for TraceAttachmentMeta
Source§fn default() -> TraceAttachmentMeta
fn default() -> TraceAttachmentMeta
Returns the “default value” for a type. Read more
Source§impl Empty for TraceAttachmentMeta
impl Empty for TraceAttachmentMeta
Source§impl FromObjectRef for TraceAttachmentMeta
impl FromObjectRef for TraceAttachmentMeta
Source§impl FromValue for TraceAttachmentMeta
impl FromValue for TraceAttachmentMeta
Source§impl IntoObjectRef for TraceAttachmentMeta
impl IntoObjectRef for TraceAttachmentMeta
Source§impl IntoValue for TraceAttachmentMeta
impl IntoValue for TraceAttachmentMeta
Source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
Source§fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.
Source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.
Source§impl PartialEq for TraceAttachmentMeta
impl PartialEq for TraceAttachmentMeta
Source§impl ProcessValue for TraceAttachmentMeta
impl ProcessValue for TraceAttachmentMeta
Source§fn value_type(&self) -> EnumSet<ValueType>
fn value_type(&self) -> EnumSet<ValueType>
Returns the type of the value.
Source§fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Executes a processor on this value.
Source§fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Recurses into children of this value.
impl StructuralPartialEq for TraceAttachmentMeta
Auto Trait Implementations§
impl Freeze for TraceAttachmentMeta
impl RefUnwindSafe for TraceAttachmentMeta
impl Send for TraceAttachmentMeta
impl Sync for TraceAttachmentMeta
impl Unpin for TraceAttachmentMeta
impl UnwindSafe for TraceAttachmentMeta
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