pub struct TimeseriesQuery {
pub site_id: String,
pub metrics: Vec<String>,
pub period: Option<String>,
pub date: Option<String>,
pub interval: Option<String>,
pub filters: Vec<String>,
pub properties: Vec<String>,
pub compare: Option<String>,
pub sort: Option<String>,
pub limit: Option<u32>,
pub page: Option<u32>,
}Expand description
Query parameters for the stats timeseries endpoint.
Fields§
§site_id: String§metrics: Vec<String>§period: Option<String>§date: Option<String>§interval: Option<String>§filters: Vec<String>§properties: Vec<String>§compare: Option<String>§sort: Option<String>§limit: Option<u32>§page: Option<u32>Trait Implementations§
Source§impl Clone for TimeseriesQuery
impl Clone for TimeseriesQuery
Source§fn clone(&self) -> TimeseriesQuery
fn clone(&self) -> TimeseriesQuery
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 moreSource§impl Debug for TimeseriesQuery
impl Debug for TimeseriesQuery
Source§impl Default for TimeseriesQuery
impl Default for TimeseriesQuery
Source§fn default() -> TimeseriesQuery
fn default() -> TimeseriesQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TimeseriesQuery
impl RefUnwindSafe for TimeseriesQuery
impl Send for TimeseriesQuery
impl Sync for TimeseriesQuery
impl Unpin for TimeseriesQuery
impl UnwindSafe for TimeseriesQuery
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