pub struct ExponentialHistogramDataPoint {Show 15 fields
pub attributes: Vec<KeyValue>,
pub start_time_unix_nano: u64,
pub time_unix_nano: u64,
pub count: u64,
pub sum: f64,
pub scale: i32,
pub zero_count: u64,
pub positive: Buckets,
pub negative: Buckets,
pub flags: u32,
pub exemplars: Vec<Exemplar>,
pub min: f64,
pub max: f64,
pub zero_threshold: f64,
pub _has: _Hazzer,
}
Fields§
§attributes: Vec<KeyValue>
§start_time_unix_nano: u64
§time_unix_nano: u64
§count: u64
§sum: f64
§scale: i32
§zero_count: u64
§positive: Buckets
§negative: Buckets
§flags: u32
§exemplars: Vec<Exemplar>
§min: f64
§max: f64
§zero_threshold: f64
§_has: _Hazzer
Implementations§
Source§impl ExponentialHistogramDataPoint
impl ExponentialHistogramDataPoint
Sourcepub fn mut_positive(&mut self) -> Option<&mut Buckets>
pub fn mut_positive(&mut self) -> Option<&mut Buckets>
Return a mutable reference to positive
as an Option
Sourcepub fn set_positive(&mut self, value: Buckets)
pub fn set_positive(&mut self, value: Buckets)
Set the value and presence of positive
Sourcepub fn clear_positive(&mut self)
pub fn clear_positive(&mut self)
Clear the presence of positive
Sourcepub fn mut_negative(&mut self) -> Option<&mut Buckets>
pub fn mut_negative(&mut self) -> Option<&mut Buckets>
Return a mutable reference to negative
as an Option
Sourcepub fn set_negative(&mut self, value: Buckets)
pub fn set_negative(&mut self, value: Buckets)
Set the value and presence of negative
Sourcepub fn clear_negative(&mut self)
pub fn clear_negative(&mut self)
Clear the presence of negative
Trait Implementations§
Source§impl Clone for ExponentialHistogramDataPoint
impl Clone for ExponentialHistogramDataPoint
Source§fn clone(&self) -> ExponentialHistogramDataPoint
fn clone(&self) -> ExponentialHistogramDataPoint
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 MessageDecode for ExponentialHistogramDataPoint
impl MessageDecode for ExponentialHistogramDataPoint
Source§fn decode<IMPL_MICROPB_READ: PbRead>(
&mut self,
decoder: &mut PbDecoder<IMPL_MICROPB_READ>,
len: usize,
) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
fn decode<IMPL_MICROPB_READ: PbRead>( &mut self, decoder: &mut PbDecoder<IMPL_MICROPB_READ>, len: usize, ) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
Decode an instance of the message from the decoder and merge it into
self
. Read moreSource§fn decode_len_delimited<R>(
&mut self,
decoder: &mut PbDecoder<R>,
) -> Result<(), DecodeError<<R as PbRead>::Error>>where
R: PbRead,
fn decode_len_delimited<R>(
&mut self,
decoder: &mut PbDecoder<R>,
) -> Result<(), DecodeError<<R as PbRead>::Error>>where
R: PbRead,
Decode an instance of the message from the decoder as a length-delimited record, starting with a length
prefix.
Source§impl MessageEncode for ExponentialHistogramDataPoint
impl MessageEncode for ExponentialHistogramDataPoint
Source§impl PartialEq for ExponentialHistogramDataPoint
impl PartialEq for ExponentialHistogramDataPoint
Source§fn eq(&self, other: &ExponentialHistogramDataPoint) -> bool
fn eq(&self, other: &ExponentialHistogramDataPoint) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExponentialHistogramDataPoint
Auto Trait Implementations§
impl Freeze for ExponentialHistogramDataPoint
impl RefUnwindSafe for ExponentialHistogramDataPoint
impl Send for ExponentialHistogramDataPoint
impl Sync for ExponentialHistogramDataPoint
impl Unpin for ExponentialHistogramDataPoint
impl UnwindSafe for ExponentialHistogramDataPoint
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