pub struct PerformanceSample {
pub timestamp: u64,
pub operation: String,
pub duration_ms: f64,
pub success: bool,
}
Expand description
Performance sample for detailed analysis
Fields§
§timestamp: u64
Timestamp of the sample
operation: String
Operation name
duration_ms: f64
Duration in milliseconds
success: bool
Whether the operation was successful
Trait Implementations§
Source§impl Clone for PerformanceSample
impl Clone for PerformanceSample
Source§fn clone(&self) -> PerformanceSample
fn clone(&self) -> PerformanceSample
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 PerformanceSample
impl Debug for PerformanceSample
Source§impl<'de> Deserialize<'de> for PerformanceSample
impl<'de> Deserialize<'de> for PerformanceSample
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
Auto Trait Implementations§
impl Freeze for PerformanceSample
impl RefUnwindSafe for PerformanceSample
impl Send for PerformanceSample
impl Sync for PerformanceSample
impl Unpin for PerformanceSample
impl UnwindSafe for PerformanceSample
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