pub struct StageEvent {
pub request_id: String,
pub stage: String,
pub started_at_unix_ms: u64,
pub finished_at_unix_ms: u64,
pub latency_us: u64,
pub success: bool,
}Expand description
Timing record for one named stage.
Fields§
§request_id: StringParent request ID.
stage: StringStage identifier.
started_at_unix_ms: u64Stage start timestamp (milliseconds since epoch UTC).
finished_at_unix_ms: u64Stage completion timestamp (milliseconds since epoch UTC).
latency_us: u64Stage latency in microseconds.
success: boolWhether the stage completed successfully (Result::is_ok() for
StageTimer::await_on, always true for StageTimer::await_value).
Trait Implementations§
Source§impl Clone for StageEvent
impl Clone for StageEvent
Source§fn clone(&self) -> StageEvent
fn clone(&self) -> StageEvent
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 StageEvent
impl Debug for StageEvent
Source§impl<'de> Deserialize<'de> for StageEvent
impl<'de> Deserialize<'de> for StageEvent
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 StageEvent
impl PartialEq for StageEvent
Source§impl Serialize for StageEvent
impl Serialize for StageEvent
impl Eq for StageEvent
impl StructuralPartialEq for StageEvent
Auto Trait Implementations§
impl Freeze for StageEvent
impl RefUnwindSafe for StageEvent
impl Send for StageEvent
impl Sync for StageEvent
impl Unpin for StageEvent
impl UnsafeUnpin for StageEvent
impl UnwindSafe for StageEvent
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