pub struct StatsBucket {
pub start: OffsetDateTime,
pub average: f64,
pub min: f64,
pub max: f64,
pub count: u64,
}Expand description
Un seau agrégé de GET /v1/intensity/stats?interval= (StatsResponse::intervals).
Fields§
§start: OffsetDateTime§average: f64§min: f64§max: f64§count: u64Trait Implementations§
Source§impl Clone for StatsBucket
impl Clone for StatsBucket
Source§impl Debug for StatsBucket
impl Debug for StatsBucket
Source§impl<'de> Deserialize<'de> for StatsBucket
impl<'de> Deserialize<'de> for StatsBucket
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StatsBucket
impl PartialEq for StatsBucket
impl StructuralPartialEq for StatsBucket
Auto Trait Implementations§
impl Freeze for StatsBucket
impl RefUnwindSafe for StatsBucket
impl Send for StatsBucket
impl Sync for StatsBucket
impl Unpin for StatsBucket
impl UnsafeUnpin for StatsBucket
impl UnwindSafe for StatsBucket
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