tmdb_client/models/
time_window.rs

1/*
2 * API
3 *
4 * ## Welcome  This is a place to put general notes and extra information, for internal use.  To get started designing/documenting this API, select a version on the left. # Title No Description
5 *
6 * The version of the OpenAPI document: 3
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11///
12#[derive(Debug, Serialize, Deserialize, Clone)]
13pub enum TimeWindow {
14    #[serde(rename = "day")]
15    Day,
16    #[serde(rename = "week")]
17    Week,
18}
19
20impl std::fmt::Display for TimeWindow {
21    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
22        write!(f, "{:?}", self)
23    }
24}