pub struct NumberDataPoint {
pub attributes: Vec<KeyValue>,
pub start_time_unix_nano: u64,
pub time_unix_nano: u64,
pub exemplars: Vec<Exemplar>,
pub flags: u32,
pub value: Option<Value>,
}
Fields§
§attributes: Vec<KeyValue>
§start_time_unix_nano: u64
§time_unix_nano: u64
§exemplars: Vec<Exemplar>
§flags: u32
§value: Option<Value>
Trait Implementations§
Source§impl Clone for NumberDataPoint
impl Clone for NumberDataPoint
Source§fn clone(&self) -> NumberDataPoint
fn clone(&self) -> NumberDataPoint
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 NumberDataPoint
impl Debug for NumberDataPoint
Source§impl Default for NumberDataPoint
impl Default for NumberDataPoint
Source§impl MessageDecode for NumberDataPoint
impl MessageDecode for NumberDataPoint
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 NumberDataPoint
impl MessageEncode for NumberDataPoint
Source§impl PartialEq for NumberDataPoint
impl PartialEq for NumberDataPoint
impl StructuralPartialEq for NumberDataPoint
Auto Trait Implementations§
impl Freeze for NumberDataPoint
impl RefUnwindSafe for NumberDataPoint
impl Send for NumberDataPoint
impl Sync for NumberDataPoint
impl Unpin for NumberDataPoint
impl UnwindSafe for NumberDataPoint
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