pub struct AggregateDatapoint {Show 17 fields
pub timestamp: i64,
pub average: f64,
pub max: f64,
pub min: f64,
pub count: f64,
pub sum: f64,
pub interpolation: f64,
pub step_interpolation: f64,
pub continuous_variance: f64,
pub discrete_variance: f64,
pub total_variation: f64,
pub count_good: f64,
pub count_uncertain: f64,
pub count_bad: f64,
pub duration_good: f64,
pub duration_uncertain: f64,
pub duration_bad: f64,
}Fields§
§timestamp: i64§average: f64§max: f64§min: f64§count: f64§sum: f64§interpolation: f64§step_interpolation: f64§continuous_variance: f64§discrete_variance: f64§total_variation: f64§count_good: f64§count_uncertain: f64§count_bad: f64§duration_good: f64§duration_uncertain: f64§duration_bad: f64Trait Implementations§
Source§impl Clone for AggregateDatapoint
impl Clone for AggregateDatapoint
Source§fn clone(&self) -> AggregateDatapoint
fn clone(&self) -> AggregateDatapoint
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 AggregateDatapoint
impl Debug for AggregateDatapoint
Source§impl Default for AggregateDatapoint
impl Default for AggregateDatapoint
Source§impl From<AggregateDatapoint> for DatapointAggregate
impl From<AggregateDatapoint> for DatapointAggregate
Source§fn from(dp: AggregateDatapoint) -> DatapointAggregate
fn from(dp: AggregateDatapoint) -> DatapointAggregate
Converts to this type from the input type.
Source§impl Message for AggregateDatapoint
impl Message for AggregateDatapoint
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for AggregateDatapoint
impl PartialEq for AggregateDatapoint
impl Copy for AggregateDatapoint
impl StructuralPartialEq for AggregateDatapoint
Auto Trait Implementations§
impl Freeze for AggregateDatapoint
impl RefUnwindSafe for AggregateDatapoint
impl Send for AggregateDatapoint
impl Sync for AggregateDatapoint
impl Unpin for AggregateDatapoint
impl UnwindSafe for AggregateDatapoint
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