world-data-types 0.4.0

Shared types for world-data.
Documentation
1
2
3
4
5
6
7
8
use geo::Coord;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Capital {
    pub name: String,
    pub coordinates: Coord<f32>,
}