#[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 Freeze for AggregatorHistoryRow
impl RefUnwindSafe for AggregatorHistoryRow
impl Send for AggregatorHistoryRow
impl Sync for AggregatorHistoryRow
impl Unpin for AggregatorHistoryRow
impl UnwindSafe for AggregatorHistoryRow
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
§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
.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more