uddf-sdk 0.2.1

Reading and writing UDDF files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Serialize;

/// Represents a geography.
///
/// https://www.streit.cc/extern/uddf_v321/en/geography.html
#[derive(Debug, Serialize)]
pub struct Geography {
    /// Latitude in degrees.
    pub latitude: Option<f64>,
    /// Longitude in degrees.
    pub longitude: Option<f64>,
    /// Concatenation of the latitude and longitude by default.
    pub location: Option<String>,
}