#[allow(unused_imports)]
use super::*;
impl std::fmt::Debug for super::AirPressure {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AirPressure");
debug_struct.field("mean_sea_level_millibars", &self.mean_sea_level_millibars);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::SunEvents {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("SunEvents");
debug_struct.field("sunrise_time", &self.sunrise_time);
debug_struct.field("sunset_time", &self.sunset_time);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::MoonEvents {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("MoonEvents");
debug_struct.field("moon_phase", &self.moon_phase);
debug_struct.field("moonrise_times", &self.moonrise_times);
debug_struct.field("moonset_times", &self.moonset_times);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ForecastDay {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ForecastDay");
debug_struct.field("interval", &self.interval);
debug_struct.field("display_date", &self.display_date);
debug_struct.field("daytime_forecast", &self.daytime_forecast);
debug_struct.field("nighttime_forecast", &self.nighttime_forecast);
debug_struct.field("max_temperature", &self.max_temperature);
debug_struct.field("min_temperature", &self.min_temperature);
debug_struct.field(
"feels_like_max_temperature",
&self.feels_like_max_temperature,
);
debug_struct.field(
"feels_like_min_temperature",
&self.feels_like_min_temperature,
);
debug_struct.field("sun_events", &self.sun_events);
debug_struct.field("moon_events", &self.moon_events);
debug_struct.field("max_heat_index", &self.max_heat_index);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ForecastDayPart {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ForecastDayPart");
debug_struct.field("interval", &self.interval);
debug_struct.field("weather_condition", &self.weather_condition);
debug_struct.field("relative_humidity", &self.relative_humidity);
debug_struct.field("uv_index", &self.uv_index);
debug_struct.field("precipitation", &self.precipitation);
debug_struct.field("thunderstorm_probability", &self.thunderstorm_probability);
debug_struct.field("wind", &self.wind);
debug_struct.field("cloud_cover", &self.cloud_cover);
debug_struct.field("ice_thickness", &self.ice_thickness);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ForecastHour {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ForecastHour");
debug_struct.field("interval", &self.interval);
debug_struct.field("display_date_time", &self.display_date_time);
debug_struct.field("is_daytime", &self.is_daytime);
debug_struct.field("weather_condition", &self.weather_condition);
debug_struct.field("temperature", &self.temperature);
debug_struct.field("feels_like_temperature", &self.feels_like_temperature);
debug_struct.field("dew_point", &self.dew_point);
debug_struct.field("heat_index", &self.heat_index);
debug_struct.field("wind_chill", &self.wind_chill);
debug_struct.field("wet_bulb_temperature", &self.wet_bulb_temperature);
debug_struct.field("relative_humidity", &self.relative_humidity);
debug_struct.field("uv_index", &self.uv_index);
debug_struct.field("precipitation", &self.precipitation);
debug_struct.field("thunderstorm_probability", &self.thunderstorm_probability);
debug_struct.field("air_pressure", &self.air_pressure);
debug_struct.field("wind", &self.wind);
debug_struct.field("visibility", &self.visibility);
debug_struct.field("cloud_cover", &self.cloud_cover);
debug_struct.field("ice_thickness", &self.ice_thickness);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::PrecipitationSegment {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PrecipitationSegment");
debug_struct.field("time_frame", &self.time_frame);
debug_struct.field("r#type", &self.r#type);
debug_struct.field("probability", &self.probability);
debug_struct.field("qpf", &self.qpf);
debug_struct.field("snowfall_amount", &self.snowfall_amount);
debug_struct.field("intensity", &self.intensity);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::PrecipitationEvent {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PrecipitationEvent");
debug_struct.field("title", &self.title);
debug_struct.field("subtitle", &self.subtitle);
debug_struct.field("time_frame", &self.time_frame);
debug_struct.field("intervals", &self.intervals);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::PrecipitationsInterval {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PrecipitationsInterval");
debug_struct.field("time_frame", &self.time_frame);
debug_struct.field("r#type", &self.r#type);
debug_struct.field("probability", &self.probability);
debug_struct.field("qpf", &self.qpf);
debug_struct.field("snow_qpf", &self.snow_qpf);
debug_struct.field("intensity", &self.intensity);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::HistoryHour {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("HistoryHour");
debug_struct.field("interval", &self.interval);
debug_struct.field("display_date_time", &self.display_date_time);
debug_struct.field("is_daytime", &self.is_daytime);
debug_struct.field("weather_condition", &self.weather_condition);
debug_struct.field("temperature", &self.temperature);
debug_struct.field("feels_like_temperature", &self.feels_like_temperature);
debug_struct.field("dew_point", &self.dew_point);
debug_struct.field("heat_index", &self.heat_index);
debug_struct.field("wind_chill", &self.wind_chill);
debug_struct.field("wet_bulb_temperature", &self.wet_bulb_temperature);
debug_struct.field("relative_humidity", &self.relative_humidity);
debug_struct.field("uv_index", &self.uv_index);
debug_struct.field("precipitation", &self.precipitation);
debug_struct.field("thunderstorm_probability", &self.thunderstorm_probability);
debug_struct.field("air_pressure", &self.air_pressure);
debug_struct.field("wind", &self.wind);
debug_struct.field("visibility", &self.visibility);
debug_struct.field("cloud_cover", &self.cloud_cover);
debug_struct.field("ice_thickness", &self.ice_thickness);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::IceThickness {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("IceThickness");
debug_struct.field("thickness", &self.thickness);
debug_struct.field("unit", &self.unit);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Precipitation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Precipitation");
debug_struct.field("probability", &self.probability);
debug_struct.field("snow_qpf", &self.snow_qpf);
debug_struct.field("qpf", &self.qpf);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::PrecipitationProbability {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PrecipitationProbability");
debug_struct.field("percent", &self.percent);
debug_struct.field("r#type", &self.r#type);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::QuantitativePrecipitationForecast {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("QuantitativePrecipitationForecast");
debug_struct.field("quantity", &self.quantity);
debug_struct.field("unit", &self.unit);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DataSource {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DataSource");
debug_struct.field("publisher", &self.publisher);
debug_struct.field("name", &self.name);
debug_struct.field("authority_uri", &self.authority_uri);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::SafetyRecommendation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("SafetyRecommendation");
debug_struct.field("directive", &self.directive);
debug_struct.field("subtext", &self.subtext);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::PublicAlerts {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PublicAlerts");
debug_struct.field("alert_id", &self.alert_id);
debug_struct.field("alert_title", &self.alert_title);
debug_struct.field("event_type", &self.event_type);
debug_struct.field("area_name", &self.area_name);
debug_struct.field("polygon", &self.polygon);
debug_struct.field("description", &self.description);
debug_struct.field("severity", &self.severity);
debug_struct.field("certainty", &self.certainty);
debug_struct.field("urgency", &self.urgency);
debug_struct.field("instruction", &self.instruction);
debug_struct.field("safety_recommendations", &self.safety_recommendations);
debug_struct.field("timezone_offset", &self.timezone_offset);
debug_struct.field("start_time", &self.start_time);
debug_struct.field("expiration_time", &self.expiration_time);
debug_struct.field("data_source", &self.data_source);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Temperature {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Temperature");
debug_struct.field("degrees", &self.degrees);
debug_struct.field("unit", &self.unit);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Visibility {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Visibility");
debug_struct.field("distance", &self.distance);
debug_struct.field("unit", &self.unit);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::WeatherCondition {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("WeatherCondition");
debug_struct.field("icon_base_uri", &self.icon_base_uri);
debug_struct.field("description", &self.description);
debug_struct.field("r#type", &self.r#type);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupCurrentConditionsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupCurrentConditionsRequest");
debug_struct.field("location", &self.location);
debug_struct.field("units_system", &self.units_system);
debug_struct.field("language_code", &self.language_code);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupCurrentConditionsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupCurrentConditionsResponse");
debug_struct.field("current_time", &self.current_time);
debug_struct.field("time_zone", &self.time_zone);
debug_struct.field("is_daytime", &self.is_daytime);
debug_struct.field("weather_condition", &self.weather_condition);
debug_struct.field("temperature", &self.temperature);
debug_struct.field("feels_like_temperature", &self.feels_like_temperature);
debug_struct.field("dew_point", &self.dew_point);
debug_struct.field("heat_index", &self.heat_index);
debug_struct.field("wind_chill", &self.wind_chill);
debug_struct.field("relative_humidity", &self.relative_humidity);
debug_struct.field("uv_index", &self.uv_index);
debug_struct.field("precipitation", &self.precipitation);
debug_struct.field("thunderstorm_probability", &self.thunderstorm_probability);
debug_struct.field("air_pressure", &self.air_pressure);
debug_struct.field("wind", &self.wind);
debug_struct.field("visibility", &self.visibility);
debug_struct.field("cloud_cover", &self.cloud_cover);
debug_struct.field(
"current_conditions_history",
&self.current_conditions_history,
);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::lookup_current_conditions_response::CurrentConditionsHistory {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CurrentConditionsHistory");
debug_struct.field("temperature_change", &self.temperature_change);
debug_struct.field("max_temperature", &self.max_temperature);
debug_struct.field("min_temperature", &self.min_temperature);
debug_struct.field("snow_qpf", &self.snow_qpf);
debug_struct.field("qpf", &self.qpf);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupForecastHoursRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupForecastHoursRequest");
debug_struct.field("location", &self.location);
debug_struct.field("hours", &self.hours);
debug_struct.field("units_system", &self.units_system);
debug_struct.field("language_code", &self.language_code);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupForecastHoursResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupForecastHoursResponse");
debug_struct.field("forecast_hours", &self.forecast_hours);
debug_struct.field("time_zone", &self.time_zone);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupForecastDaysRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupForecastDaysRequest");
debug_struct.field("location", &self.location);
debug_struct.field("days", &self.days);
debug_struct.field("units_system", &self.units_system);
debug_struct.field("language_code", &self.language_code);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupForecastDaysResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupForecastDaysResponse");
debug_struct.field("forecast_days", &self.forecast_days);
debug_struct.field("time_zone", &self.time_zone);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupHistoryHoursRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupHistoryHoursRequest");
debug_struct.field("location", &self.location);
debug_struct.field("hours", &self.hours);
debug_struct.field("units_system", &self.units_system);
debug_struct.field("language_code", &self.language_code);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupHistoryHoursResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupHistoryHoursResponse");
debug_struct.field("history_hours", &self.history_hours);
debug_struct.field("time_zone", &self.time_zone);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupPublicAlertsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupPublicAlertsRequest");
debug_struct.field("location", &self.location);
debug_struct.field("language_code", &self.language_code);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupPublicAlertsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupPublicAlertsResponse");
debug_struct.field("weather_alerts", &self.weather_alerts);
debug_struct.field("region_code", &self.region_code);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupForecastMinutesRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupForecastMinutesRequest");
debug_struct.field("location", &self.location);
debug_struct.field("units_system", &self.units_system);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupForecastMinutesResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupForecastMinutesResponse");
debug_struct.field(
"overall_prediction_timeframe",
&self.overall_prediction_timeframe,
);
debug_struct.field("time_zone", &self.time_zone);
debug_struct.field("next_page_token", &self.next_page_token);
debug_struct.field("segments", &self.segments);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LookupMapTileRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LookupMapTileRequest");
debug_struct.field("map_type", &self.map_type);
debug_struct.field("zoom", &self.zoom);
debug_struct.field("x", &self.x);
debug_struct.field("y", &self.y);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Wind {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Wind");
debug_struct.field("direction", &self.direction);
debug_struct.field("speed", &self.speed);
debug_struct.field("gust", &self.gust);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::WindDirection {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("WindDirection");
debug_struct.field("degrees", &self.degrees);
debug_struct.field("cardinal", &self.cardinal);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::WindSpeed {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("WindSpeed");
debug_struct.field("value", &self.value);
debug_struct.field("unit", &self.unit);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}