pub struct AnnotationV2 {
pub version: u16,
pub sequence: u64,
pub annotation_id: AnnotationId,
pub elapsed_ns: u64,
pub thread_id: u64,
pub value: u64,
pub task_id: Evidence<u64>,
pub worker_id: Evidence<u64>,
}Expand description
One bounded typed numeric annotation on the run timeline.
Fields§
§version: u16§sequence: u64§annotation_id: AnnotationId§elapsed_ns: u64§thread_id: u64§value: u64§task_id: Evidence<u64>§worker_id: Evidence<u64>Trait Implementations§
Source§impl Clone for AnnotationV2
impl Clone for AnnotationV2
Source§fn clone(&self) -> AnnotationV2
fn clone(&self) -> AnnotationV2
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 AnnotationV2
impl Debug for AnnotationV2
Source§impl<'de> Deserialize<'de> for AnnotationV2
impl<'de> Deserialize<'de> for AnnotationV2
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 Eq for AnnotationV2
Source§impl PartialEq for AnnotationV2
impl PartialEq for AnnotationV2
Source§impl Serialize for AnnotationV2
impl Serialize for AnnotationV2
impl StructuralPartialEq for AnnotationV2
Auto Trait Implementations§
impl Freeze for AnnotationV2
impl RefUnwindSafe for AnnotationV2
impl Send for AnnotationV2
impl Sync for AnnotationV2
impl Unpin for AnnotationV2
impl UnsafeUnpin for AnnotationV2
impl UnwindSafe for AnnotationV2
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