pub struct Source {
pub id: i32,
pub dwd_station_id: Option<String>,
pub observation_type: ObservationType,
pub lat: f32,
pub lon: f32,
pub height: f32,
pub station_name: String,
pub wmo_station_id: String,
pub first_record: DateTime<FixedOffset>,
pub last_record: DateTime<FixedOffset>,
pub distance: f32,
}Fields§
§id: i32§dwd_station_id: Option<String>§observation_type: ObservationType§lat: f32§lon: f32§height: f32§station_name: String§wmo_station_id: String§first_record: DateTime<FixedOffset>§last_record: DateTime<FixedOffset>§distance: f32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more