Struct keen::KeenClient
[−]
[src]
pub struct KeenClient { /* fields omitted */ }A Keen.io client
Methods
impl KeenClient[src]
fn new(key: &str, project: &str) -> KeenClient
Create a new keen.io client with read key and a project's hash.
fn timeout(&mut self, time: Duration)
Set the client timeout.
fn query(&self, m: Metric, c: String, timeframe: TimeFrame) -> KeenQuery
Generate a new query with current client.
Trait Implementations
impl Debug for KeenClient[src]
impl Clone for KeenClient[src]
fn clone(&self) -> KeenClient
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