strava_client/models/moving_stream_all_of.rs
1/*
2 * Strava API v3
3 *
4 * The [Swagger Playground](https://developers.strava.com/playground) is the easiest way to familiarize yourself with the Strava API by submitting HTTP requests and observing the responses before you write any client code. It will show what a response will look like with different endpoints depending on the authorization scope you receive from your athletes. To use the Playground, go to https://www.strava.com/settings/api and change your “Authorization Callback Domain” to developers.strava.com. Please note, we only support Swagger 2.0. There is a known issue where you can only select one scope at a time. For more information, please check the section “client code” at https://developers.strava.com/docs.
5 *
6 * The version of the OpenAPI document: 3.0.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct MovingStreamAllOf {
16 /// The sequence of moving values for this stream, as boolean values
17 #[serde(rename = "data", skip_serializing_if = "Option::is_none")]
18 pub data: Option<Vec<bool>>,
19}
20
21impl MovingStreamAllOf {
22 pub fn new() -> MovingStreamAllOf {
23 MovingStreamAllOf {
24 data: None,
25 }
26 }
27}
28
29