mlb_api/requests/meta/
wind_direction.rs1use serde::Deserialize;
2
3id!(#[doc = "A [`String`] representing a direction the wind is going"] WindDirectionId { code: String });
4
5#[derive(Debug, Deserialize, Clone)]
17pub struct WindDirection {
18 pub description: String,
19 #[serde(flatten)]
20 pub id: WindDirectionId,
21}
22
23id_only_eq_impl!(WindDirection, id);
24meta_kind_impl!("windDirection" => WindDirection);
25tiered_request_entry_cache_impl!(WindDirection.id: WindDirectionId);
26test_impl!(WindDirection);