#[repr(packed(1))]pub struct AggregatorHistoryRow {
pub timestamp: i64,
pub value: SwitchboardDecimal,
}
Fields§
§timestamp: i64
The timestamp of the sample.
value: SwitchboardDecimal
The value of the sample.
Trait Implementations§
source§impl Clone for AggregatorHistoryRow
impl Clone for AggregatorHistoryRow
source§fn clone(&self) -> AggregatorHistoryRow
fn clone(&self) -> AggregatorHistoryRow
Returns a copy 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 AggregatorHistoryRow
impl Debug for AggregatorHistoryRow
source§impl Default for AggregatorHistoryRow
impl Default for AggregatorHistoryRow
source§fn default() -> AggregatorHistoryRow
fn default() -> AggregatorHistoryRow
Returns the “default value” for a type. Read more
impl Copy for AggregatorHistoryRow
impl Pod for AggregatorHistoryRow
Auto Trait Implementations§
impl RefUnwindSafe for AggregatorHistoryRow
impl Send for AggregatorHistoryRow
impl Sync for AggregatorHistoryRow
impl Unpin for AggregatorHistoryRow
impl UnwindSafe for AggregatorHistoryRow
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.