pub struct FunctionStats {
pub name: String,
pub calls: u32,
pub total_us: u64,
pub avg_us: u64,
pub p90_us: u64,
pub max_us: u64,
}Fields§
§name: String§calls: u32§total_us: u64§avg_us: u64§p90_us: u64§max_us: u64Trait Implementations§
Source§impl Clone for FunctionStats
impl Clone for FunctionStats
Source§fn clone(&self) -> FunctionStats
fn clone(&self) -> FunctionStats
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 FunctionStats
impl Debug for FunctionStats
Source§impl<'de> Deserialize<'de> for FunctionStats
impl<'de> Deserialize<'de> for FunctionStats
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 FunctionStats
impl RefUnwindSafe for FunctionStats
impl Send for FunctionStats
impl Sync for FunctionStats
impl Unpin for FunctionStats
impl UnsafeUnpin for FunctionStats
impl UnwindSafe for FunctionStats
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