pub struct Analytics { /* private fields */ }
Implementations§
Source§impl Analytics
impl Analytics
pub fn new(client: Client) -> Self
pub fn get(&self, params: AnalyticsParams, group_by: &str) -> Request
pub fn group_by_country( &self, params: AnalyticsParams, ) -> Result<Vec<AnalyticByCountry>, Error>
pub fn group_by_date( &self, params: AnalyticsParams, ) -> Result<Vec<AnalyticByDate>, Error>
pub fn group_by_label( &self, params: AnalyticsParams, ) -> Result<Vec<AnalyticByLabel>, Error>
pub fn group_by_subaccount( &self, params: AnalyticsParams, ) -> Result<Vec<AnalyticBySubaccount>, Error>
Auto Trait Implementations§
impl Freeze for Analytics
impl RefUnwindSafe for Analytics
impl Send for Analytics
impl Sync for Analytics
impl Unpin for Analytics
impl UnwindSafe for Analytics
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