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 create(&self, body: CreateActivity) -> CreateActivityRequest
pub fn update(&self, id: u64, body: UpdatableActivity) -> UpdateActivityRequest
Auto Trait Implementations§
impl Freeze for ActivitiesEndpoint
impl RefUnwindSafe for ActivitiesEndpoint
impl Send for ActivitiesEndpoint
impl Sync for ActivitiesEndpoint
impl Unpin for ActivitiesEndpoint
impl UnsafeUnpin 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