pub struct LatencyBucketV2 {
pub version: u16,
pub lower_bound_ns: u64,
pub upper_bound_ns: u64,
pub count: u64,
}Expand description
One exact logarithmic latency bucket.
Fields§
§version: u16§lower_bound_ns: u64§upper_bound_ns: u64§count: u64Trait Implementations§
Source§impl Clone for LatencyBucketV2
impl Clone for LatencyBucketV2
Source§fn clone(&self) -> LatencyBucketV2
fn clone(&self) -> LatencyBucketV2
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 LatencyBucketV2
impl Debug for LatencyBucketV2
Source§impl<'de> Deserialize<'de> for LatencyBucketV2
impl<'de> Deserialize<'de> for LatencyBucketV2
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 LatencyBucketV2
Source§impl PartialEq for LatencyBucketV2
impl PartialEq for LatencyBucketV2
Source§impl Serialize for LatencyBucketV2
impl Serialize for LatencyBucketV2
impl StructuralPartialEq for LatencyBucketV2
Auto Trait Implementations§
impl Freeze for LatencyBucketV2
impl RefUnwindSafe for LatencyBucketV2
impl Send for LatencyBucketV2
impl Sync for LatencyBucketV2
impl Unpin for LatencyBucketV2
impl UnsafeUnpin for LatencyBucketV2
impl UnwindSafe for LatencyBucketV2
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