Remove types that are not implemented yet

I've gone *years* without these types, mostly because I wasn't doing
these workouts. I can go longer.
This commit is contained in:
Savanni D'Gerinel 2023-12-06 23:55:12 -05:00
parent 83a4839b1d
commit b9aa434278
1 changed files with 0 additions and 6 deletions

View File

@ -56,11 +56,8 @@ pub struct Weight {
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub enum TraxRecord {
BikeRide(TimeDistance),
Pushups,
Row(TimeDistance),
Run(TimeDistance),
Situps,
Squats,
Steps(Steps),
Swim(TimeDistance),
Walk(TimeDistance),
@ -71,11 +68,8 @@ impl Recordable for TraxRecord {
fn timestamp(&self) -> Timestamp {
match self {
TraxRecord::BikeRide(rec) => Timestamp::DateTime(rec.datetime.clone()),
TraxRecord::Pushups => unimplemented!(),
TraxRecord::Row(rec) => Timestamp::DateTime(rec.datetime.clone()),
TraxRecord::Run(rec) => Timestamp::DateTime(rec.datetime.clone()),
TraxRecord::Situps => unimplemented!(),
TraxRecord::Squats => unimplemented!(),
TraxRecord::Steps(rec) => Timestamp::Date(rec.date),
TraxRecord::Swim(rec) => Timestamp::DateTime(rec.datetime.clone()),
TraxRecord::Walk(rec) => Timestamp::DateTime(rec.datetime.clone()),