pub struct StravaAPI { /* private fields */ }Implementations§
Source§impl StravaAPI
impl StravaAPI
pub fn new(url: &str, token: impl Into<String>) -> Self
pub fn activities(&self) -> ActivitiesEndpoint
pub fn athlete(&self) -> AthleteEndpoint
pub fn athletes(&self) -> AthletesEndpoint
pub fn clubs(&self) -> ClubsEndpoint
pub fn gear(&self) -> GearEndpoint
pub fn routes(&self) -> RoutesEndpoint
pub fn segments(&self) -> SegmentsEndpoint
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StravaAPI
impl RefUnwindSafe for StravaAPI
impl Send for StravaAPI
impl Sync for StravaAPI
impl Unpin for StravaAPI
impl UnwindSafe for StravaAPI
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