Struct keen::KeenQuery
[−]
[src]
pub struct KeenQuery { /* fields omitted */ }
Type represents a keen io query
Methods
impl KeenQuery
[src]
fn group_by(&mut self, g: &str) -> &mut KeenQuery
Add a new group by condition to current query.
fn filter(&mut self, f: Filter) -> &mut KeenQuery
Add a new filter to current query.
fn interval(&mut self, i: Interval) -> &mut KeenQuery
Add an interval to current query.
fn max_age(&mut self, age: usize) -> &mut KeenQuery
Use cache with and set cache timeout to current query.
fn other(&mut self, key: &str, value: &str) -> &mut KeenQuery
Other customized parameters that sent to keen io
fn url(&self) -> String
Generate the query url.
fn data(&self) -> Result<Response>
Get the query data. The result is a hyper::Resulthyper::client::Response
Trait Implementations
impl Debug for KeenQuery
[src]
impl Clone for KeenQuery
[src]
fn clone(&self) -> KeenQuery
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more