-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new current ride stats from boosted ride stats
- Loading branch information
1 parent
7afd733
commit 6af3ae8
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
use serde::{Deserialize, Serialize}; | ||
use serde_with::skip_serializing_none; | ||
|
||
use crate::services::boosted::structs::{RideStats, Stats}; | ||
use crate::services::boosted::structs::{ | ||
CurrentRideStats, RideStats, Stats, | ||
}; | ||
|
||
#[skip_serializing_none] | ||
#[derive(Debug, Serialize, Deserialize)] | ||
pub struct BoostedRideUpdate { | ||
pub riding: bool, | ||
pub current_ride: CurrentRideStats, | ||
pub latest_ride: RideStats, | ||
pub stats: Stats, | ||
} |