pub struct StatsTopQuery {
pub from: Option<Timestamp>,
pub to: Option<Timestamp>,
pub limit: Option<u32>,
}Expand description
Range and size of a top-list query.
Fields§
§from: Option<Timestamp>Start. Core’s default: 24 hours before to.
to: Option<Timestamp>End. Core’s default: now.
limit: Option<u32>Items, 1–100 (Core’s default 20).
Trait Implementations§
Source§impl Clone for StatsTopQuery
impl Clone for StatsTopQuery
Source§fn clone(&self) -> StatsTopQuery
fn clone(&self) -> StatsTopQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StatsTopQuery
impl Debug for StatsTopQuery
Source§impl Default for StatsTopQuery
impl Default for StatsTopQuery
Source§fn default() -> StatsTopQuery
fn default() -> StatsTopQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatsTopQuery
impl RefUnwindSafe for StatsTopQuery
impl Send for StatsTopQuery
impl Sync for StatsTopQuery
impl Unpin for StatsTopQuery
impl UnsafeUnpin for StatsTopQuery
impl UnwindSafe for StatsTopQuery
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