#[repr(i32)]pub enum PbExerciseTargetType {
ExerciseTargetTypeFree = 0,
ExerciseTargetTypeVolume = 1,
ExerciseTargetTypePhased = 2,
ExerciseTargetTypeRoute = 3,
ExerciseTargetTypeSteadyRacePace = 4,
ExerciseTargetTypeRouteRacePace = 5,
ExerciseTargetTypeStravaSegment = 6,
}Variants§
ExerciseTargetTypeFree = 0
ExerciseTargetTypeVolume = 1
ExerciseTargetTypePhased = 2
ExerciseTargetTypeRoute = 3
ExerciseTargetTypeSteadyRacePace = 4
ExerciseTargetTypeRouteRacePace = 5
ExerciseTargetTypeStravaSegment = 6
Implementations§
Trait Implementations§
Source§impl Clone for PbExerciseTargetType
impl Clone for PbExerciseTargetType
Source§fn clone(&self) -> PbExerciseTargetType
fn clone(&self) -> PbExerciseTargetType
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 PbExerciseTargetType
impl Debug for PbExerciseTargetType
Source§impl Default for PbExerciseTargetType
impl Default for PbExerciseTargetType
Source§fn default() -> PbExerciseTargetType
fn default() -> PbExerciseTargetType
Returns the “default value” for a type. Read more
Source§impl From<PbExerciseTargetType> for i32
impl From<PbExerciseTargetType> for i32
Source§fn from(value: PbExerciseTargetType) -> i32
fn from(value: PbExerciseTargetType) -> i32
Converts to this type from the input type.
Source§impl Hash for PbExerciseTargetType
impl Hash for PbExerciseTargetType
Source§impl Ord for PbExerciseTargetType
impl Ord for PbExerciseTargetType
Source§fn cmp(&self, other: &PbExerciseTargetType) -> Ordering
fn cmp(&self, other: &PbExerciseTargetType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PbExerciseTargetType
impl PartialEq for PbExerciseTargetType
Source§impl PartialOrd for PbExerciseTargetType
impl PartialOrd for PbExerciseTargetType
impl Copy for PbExerciseTargetType
impl Eq for PbExerciseTargetType
impl StructuralPartialEq for PbExerciseTargetType
Auto Trait Implementations§
impl Freeze for PbExerciseTargetType
impl RefUnwindSafe for PbExerciseTargetType
impl Send for PbExerciseTargetType
impl Sync for PbExerciseTargetType
impl Unpin for PbExerciseTargetType
impl UnwindSafe for PbExerciseTargetType
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