pub struct XTrackerClient(/* private fields */);Implementations§
Source§impl XTrackerClient
impl XTrackerClient
pub async fn get_trackings( &self, active_only: bool, ) -> Result<Vec<Tracking>, XTrackerError>
pub async fn get_tracking_by_id( &self, tracking_id: &str, include_stats: bool, ) -> Result<Tracking, XTrackerError>
pub async fn get_trackings_by_handle( &self, handle: &str, platform: impl Into<Option<Platform>>, active_only: bool, ) -> Result<Vec<UserTrackings>, XTrackerError>
Trait Implementations§
Source§impl Clone for XTrackerClient
impl Clone for XTrackerClient
Source§fn clone(&self) -> XTrackerClient
fn clone(&self) -> XTrackerClient
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 XTrackerClient
impl Debug for XTrackerClient
Auto Trait Implementations§
impl Freeze for XTrackerClient
impl !RefUnwindSafe for XTrackerClient
impl Send for XTrackerClient
impl Sync for XTrackerClient
impl Unpin for XTrackerClient
impl UnsafeUnpin for XTrackerClient
impl !UnwindSafe for XTrackerClient
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