pub struct AnalyticsClient { /* private fields */ }Implementations§
Source§impl AnalyticsClient
impl AnalyticsClient
pub async fn overview( &self, options: Option<HashMap<String, String>>, ) -> Result<Value, Error>
pub async fn time_series( &self, options: Option<HashMap<String, String>>, ) -> Result<Vec<Value>, Error>
pub async fn breakdown( &self, options: Option<HashMap<String, String>>, ) -> Result<Vec<Value>, Error>
pub async fn top_endpoints( &self, options: Option<HashMap<String, String>>, ) -> Result<Vec<Value>, Error>
pub async fn track( &self, name: &str, properties: Option<Value>, user_id: Option<&str>, ) -> Result<(), Error>
pub async fn track_batch(&self, events: Vec<Value>) -> Result<(), Error>
pub async fn query_events( &self, options: Option<HashMap<String, String>>, ) -> Result<Value, Error>
Auto Trait Implementations§
impl Freeze for AnalyticsClient
impl !RefUnwindSafe for AnalyticsClient
impl Send for AnalyticsClient
impl Sync for AnalyticsClient
impl Unpin for AnalyticsClient
impl UnsafeUnpin for AnalyticsClient
impl !UnwindSafe for AnalyticsClient
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