pub struct StatsHistoryQuery {
pub hours: Option<u64>,
}Fields§
§hours: Option<u64>How many hours of history to return, default 24, max 168 (7 days).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StatsHistoryQuery
impl<'de> Deserialize<'de> for StatsHistoryQuery
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
Auto Trait Implementations§
impl Freeze for StatsHistoryQuery
impl RefUnwindSafe for StatsHistoryQuery
impl Send for StatsHistoryQuery
impl Sync for StatsHistoryQuery
impl Unpin for StatsHistoryQuery
impl UnsafeUnpin for StatsHistoryQuery
impl UnwindSafe for StatsHistoryQuery
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