pub struct ActivitiesEndpoint { /* private fields */ }Implementations§
Source§impl ActivitiesEndpoint
impl ActivitiesEndpoint
pub fn new(url: impl Into<String>, token: impl Into<String>) -> Self
pub fn get(&self) -> GetActivity
pub fn comments(&self) -> ListActivityComments
pub fn kudos(&self) -> ListActivityKudoers
pub fn laps(&self) -> ListActivityLaps
pub fn zones(&self) -> ListActivityZones
pub fn update(&self)
pub fn create(&self)
Auto Trait Implementations§
impl Freeze for ActivitiesEndpoint
impl RefUnwindSafe for ActivitiesEndpoint
impl Send for ActivitiesEndpoint
impl Sync for ActivitiesEndpoint
impl Unpin for ActivitiesEndpoint
impl UnwindSafe for ActivitiesEndpoint
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