pub struct BenchmarkParams {
pub from: String,
pub to: String,
pub granularity: Option<String>,
}Expand description
Benchmark query parameters.
Fields§
§from: StringISO date.
to: StringISO date.
granularity: Option<String>day, week, or month.
Trait Implementations§
Source§impl Clone for BenchmarkParams
impl Clone for BenchmarkParams
Source§fn clone(&self) -> BenchmarkParams
fn clone(&self) -> BenchmarkParams
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 BenchmarkParams
impl Debug for BenchmarkParams
Source§impl Default for BenchmarkParams
impl Default for BenchmarkParams
Source§fn default() -> BenchmarkParams
fn default() -> BenchmarkParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BenchmarkParams
impl RefUnwindSafe for BenchmarkParams
impl Send for BenchmarkParams
impl Sync for BenchmarkParams
impl Unpin for BenchmarkParams
impl UnsafeUnpin for BenchmarkParams
impl UnwindSafe for BenchmarkParams
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