2023-06-18 13:53:45 +02:00
|
|
|
use crate::{
|
|
|
|
|
formats::data_format::DataFormat, formats::speed_unit::SpeedUnit, formats::temp_unit::TempUnit,
|
|
|
|
|
};
|
2023-06-08 23:10:21 +02:00
|
|
|
|
2023-05-26 20:21:28 +02:00
|
|
|
pub struct CurrentWeatherPrintParams {
|
|
|
|
|
pub all: bool,
|
|
|
|
|
pub is_day: bool,
|
|
|
|
|
pub temperature: bool,
|
2023-06-08 23:10:21 +02:00
|
|
|
pub temperature_unit: TempUnit,
|
2023-05-26 20:21:28 +02:00
|
|
|
pub windspeed: bool,
|
2023-06-08 23:10:21 +02:00
|
|
|
pub speed_unit: SpeedUnit,
|
2023-05-26 20:21:28 +02:00
|
|
|
pub winddirection: bool,
|
|
|
|
|
pub include_coords: bool,
|
|
|
|
|
pub include_city: bool,
|
2023-06-13 18:38:32 +02:00
|
|
|
pub format: DataFormat,
|
2023-05-26 20:21:28 +02:00
|
|
|
}
|