pub struct TimelineAnnotation {
pub timestamp_ns: u64,
pub text: String,
pub category: String,
}Expand description
An annotation on a timeline.
Fields§
§timestamp_ns: u64Timestamp of the annotation.
text: StringText of the annotation.
category: StringCategory (e.g., “checkpoint”, “error”).
Implementations§
Trait Implementations§
Source§impl Clone for TimelineAnnotation
impl Clone for TimelineAnnotation
Source§fn clone(&self) -> TimelineAnnotation
fn clone(&self) -> TimelineAnnotation
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 moreAuto Trait Implementations§
impl Freeze for TimelineAnnotation
impl RefUnwindSafe for TimelineAnnotation
impl Send for TimelineAnnotation
impl Sync for TimelineAnnotation
impl Unpin for TimelineAnnotation
impl UnsafeUnpin for TimelineAnnotation
impl UnwindSafe for TimelineAnnotation
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