[][src]Enum fitparser::profile::field_types::Event

pub enum Event {
    Timer,
    Workout,
    WorkoutStep,
    PowerDown,
    PowerUp,
    OffCourse,
    Session,
    Lap,
    CoursePoint,
    Battery,
    VirtualPartnerPace,
    HrHighAlert,
    HrLowAlert,
    SpeedHighAlert,
    SpeedLowAlert,
    CadHighAlert,
    CadLowAlert,
    PowerHighAlert,
    PowerLowAlert,
    RecoveryHr,
    BatteryLow,
    TimeDurationAlert,
    DistanceDurationAlert,
    CalorieDurationAlert,
    Activity,
    FitnessEquipment,
    Length,
    UserMarker,
    SportPoint,
    Calibration,
    FrontGearChange,
    RearGearChange,
    RiderPositionChange,
    ElevHighAlert,
    ElevLowAlert,
    CommTimeout,
    UnknownVariant(u8),
}

Variants

Timer

Group 0. Start / stop_all

Workout

start / stop

WorkoutStep

Start at beginning of workout. Stop at end of each step.

PowerDown

stop_all group 0

PowerUp

stop_all group 0

OffCourse

start / stop group 0

Session

Stop at end of each session.

Lap

Stop at end of each lap.

CoursePoint

marker

Battery

marker

VirtualPartnerPace

Group 1. Start at beginning of activity if VP enabled, when VP pace is changed during activity or VP enabled mid activity. stop_disable when VP disabled.

HrHighAlert

Group 0. Start / stop when in alert condition.

HrLowAlert

Group 0. Start / stop when in alert condition.

SpeedHighAlert

Group 0. Start / stop when in alert condition.

SpeedLowAlert

Group 0. Start / stop when in alert condition.

CadHighAlert

Group 0. Start / stop when in alert condition.

CadLowAlert

Group 0. Start / stop when in alert condition.

PowerHighAlert

Group 0. Start / stop when in alert condition.

PowerLowAlert

Group 0. Start / stop when in alert condition.

RecoveryHr

marker

BatteryLow

marker

TimeDurationAlert

Group 1. Start if enabled mid activity (not required at start of activity). Stop when duration is reached. stop_disable if disabled.

DistanceDurationAlert

Group 1. Start if enabled mid activity (not required at start of activity). Stop when duration is reached. stop_disable if disabled.

CalorieDurationAlert

Group 1. Start if enabled mid activity (not required at start of activity). Stop when duration is reached. stop_disable if disabled.

Activity

Group 1.. Stop at end of activity.

FitnessEquipment

marker

Length

Stop at end of each length.

UserMarker

marker

SportPoint

marker

Calibration

start/stop/marker

FrontGearChange

marker

RearGearChange

marker

RiderPositionChange

marker

ElevHighAlert

Group 0. Start / stop when in alert condition.

ElevLowAlert

Group 0. Start / stop when in alert condition.

CommTimeout

marker

UnknownVariant(u8)

Implementations

impl Event[src]

pub fn as_u8(self) -> u8[src]

pub fn as_i64(self) -> i64[src]

Trait Implementations

impl Clone for Event[src]

impl Copy for Event[src]

impl Debug for Event[src]

impl Display for Event[src]

impl Eq for Event[src]

impl From<i64> for Event[src]

impl From<u8> for Event[src]

impl Ord for Event[src]

impl PartialEq<Event> for Event[src]

impl PartialOrd<Event> for Event[src]

impl Serialize for Event[src]

impl StructuralEq for Event[src]

impl StructuralPartialEq for Event[src]

Auto Trait Implementations

impl RefUnwindSafe for Event

impl Send for Event

impl Sync for Event

impl Unpin for Event

impl UnwindSafe for Event

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.