pub struct RecordInfo {
pub name: String,
pub unit: UnitExp,
pub interval: Duration,
pub duration: Duration,
pub sample_count: u32,
pub max: Value,
pub average: Value,
pub min: Value,
pub start: NaiveDateTime,
}Fields§
§name: StringName of the record.
unit: UnitExpUnit and exponent.
interval: DurationInterval.
duration: DurationDuration.
sample_count: u32Sample count.
max: ValueMaximum value.
average: ValueAverage value.
min: ValueMinimum value.
start: NaiveDateTimeStart date/time.
Trait Implementations§
Source§impl Clone for RecordInfo
impl Clone for RecordInfo
Source§fn clone(&self) -> RecordInfo
fn clone(&self) -> RecordInfo
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 moreAuto Trait Implementations§
impl Freeze for RecordInfo
impl RefUnwindSafe for RecordInfo
impl Send for RecordInfo
impl Sync for RecordInfo
impl Unpin for RecordInfo
impl UnwindSafe for RecordInfo
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