Skip to main content

GearID

Trait GearID 

Source
pub trait GearID {
    // Required method
    fn id(self, id: impl Into<String>) -> Self;
}
Expand description

String-valued {id} path param. Use on resources where Strava assigns non-numeric identifiers (e.g. gear ids like "b12345678").

Required Methods§

Source

fn id(self, id: impl Into<String>) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§