pub struct OurLogHeaders {
pub byte_size: Annotated<u64>,
}
Expand description
Relay specific metadata embedded into the log item.
This metadata is purely an internal protocol extension used by Relay, no one except Relay should be sending this data, nor should anyone except Relay rely on it.
Fields§
§byte_size: Annotated<u64>
Original (calculated) size of the log item when it was first received by a Relay.
If this value exists, Relay uses it as quantity for all outcomes emitted to the log byte data category.
Trait Implementations§
Source§impl Clone for OurLogHeaders
impl Clone for OurLogHeaders
Source§fn clone(&self) -> OurLogHeaders
fn clone(&self) -> OurLogHeaders
Returns a copy 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 OurLogHeaders
impl Debug for OurLogHeaders
Source§impl Default for OurLogHeaders
impl Default for OurLogHeaders
Source§fn default() -> OurLogHeaders
fn default() -> OurLogHeaders
Returns the “default value” for a type. Read more
Source§impl Empty for OurLogHeaders
impl Empty for OurLogHeaders
Source§impl FromObjectRef for OurLogHeaders
impl FromObjectRef for OurLogHeaders
Source§fn from_object_ref(__obj: &mut Object<Value>) -> Self
fn from_object_ref(__obj: &mut Object<Value>) -> Self
Creates a meta structure from key value pairs. Read more
Source§impl FromValue for OurLogHeaders
impl FromValue for OurLogHeaders
Source§fn from_value(__value: Annotated<Value>) -> Annotated<Self>
fn from_value(__value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
Source§impl IntoObjectRef for OurLogHeaders
impl IntoObjectRef for OurLogHeaders
Source§fn into_object_ref(self, __map: &mut Object<Value>)
fn into_object_ref(self, __map: &mut Object<Value>)
Boxes the meta structure back into an object of values. Read more
Source§impl IntoValue for OurLogHeaders
impl IntoValue for OurLogHeaders
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.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
Extracts the meta tree out of annotated value. Read more
Source§impl PartialEq for OurLogHeaders
impl PartialEq for OurLogHeaders
Source§impl ProcessValue for OurLogHeaders
impl ProcessValue for OurLogHeaders
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 OurLogHeaders
Auto Trait Implementations§
impl Freeze for OurLogHeaders
impl RefUnwindSafe for OurLogHeaders
impl Send for OurLogHeaders
impl Sync for OurLogHeaders
impl Unpin for OurLogHeaders
impl UnwindSafe for OurLogHeaders
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