pub struct ExploreSegments { /* private fields */ }Implementations§
Source§impl ExploreSegments
impl ExploreSegments
Sourcepub fn bounds(self, sw_lat: f64, sw_lng: f64, ne_lat: f64, ne_lng: f64) -> Self
pub fn bounds(self, sw_lat: f64, sw_lng: f64, ne_lat: f64, ne_lng: f64) -> Self
Required. A bounding box expressed as [sw_lat, sw_lng, ne_lat, ne_lng].
Sourcepub fn activity_type(self, activity_type: &str) -> Self
pub fn activity_type(self, activity_type: &str) -> Self
Filter by “running” or “riding”.
pub fn min_cat(self, cat: u32) -> Self
pub fn max_cat(self, cat: u32) -> Self
Trait Implementations§
Source§impl Clone for ExploreSegments
impl Clone for ExploreSegments
Source§fn clone(&self) -> ExploreSegments
fn clone(&self) -> ExploreSegments
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 ExploreSegments
impl Debug for ExploreSegments
Source§impl Endpoint for ExploreSegments
impl Endpoint for ExploreSegments
Source§impl PathQuery for ExploreSegments
impl PathQuery for ExploreSegments
Source§impl Query for ExploreSegments
impl Query for ExploreSegments
Source§impl Sendable<ExplorerResponse> for ExploreSegments
impl Sendable<ExplorerResponse> for ExploreSegments
fn send<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<ExplorerResponse, ErrorWrapper>> + Send + 'async_trait>>where
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for ExploreSegments
impl RefUnwindSafe for ExploreSegments
impl Send for ExploreSegments
impl Sync for ExploreSegments
impl Unpin for ExploreSegments
impl UnsafeUnpin for ExploreSegments
impl UnwindSafe for ExploreSegments
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