pub struct EventStreamV2 {
pub version: u16,
pub availability: Evidence<bool>,
pub dropped_events: u64,
pub dropped_span_events: u64,
pub dropped_point_events: u64,
pub dropped_annotations: u64,
pub sampled_out_events: u64,
pub spans: Vec<SpanRecordV2>,
pub point_events: Vec<PointEventV2>,
pub annotations: Vec<AnnotationV2>,
}Expand description
Bounded event stream with explicit availability and loss accounting.
Fields§
§version: u16§availability: Evidence<bool>§dropped_events: u64§dropped_span_events: u64§dropped_point_events: u64§dropped_annotations: u64§sampled_out_events: u64§spans: Vec<SpanRecordV2>§point_events: Vec<PointEventV2>§annotations: Vec<AnnotationV2>Trait Implementations§
Source§impl Clone for EventStreamV2
impl Clone for EventStreamV2
Source§fn clone(&self) -> EventStreamV2
fn clone(&self) -> EventStreamV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventStreamV2
impl Debug for EventStreamV2
Source§impl<'de> Deserialize<'de> for EventStreamV2
impl<'de> Deserialize<'de> for EventStreamV2
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 EventStreamV2
impl PartialEq for EventStreamV2
Source§impl Serialize for EventStreamV2
impl Serialize for EventStreamV2
impl StructuralPartialEq for EventStreamV2
Auto Trait Implementations§
impl Freeze for EventStreamV2
impl RefUnwindSafe for EventStreamV2
impl Send for EventStreamV2
impl Sync for EventStreamV2
impl Unpin for EventStreamV2
impl UnsafeUnpin for EventStreamV2
impl UnwindSafe for EventStreamV2
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