gpx-rs 0.1.0

GPX 1.1 parsing, validation, path analytics, and CLI tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::Deserialize;

use super::{Email, Link};

/// A person or organization (`personType` in GPX 1.1).
#[derive(Debug, Clone, PartialEq, Eq, Default, Deserialize)]
pub struct Person {
    /// Name of the person or organization.
    #[serde(default)]
    pub name: Option<String>,
    /// Contact email address.
    #[serde(default)]
    pub email: Option<Email>,
    /// Link to a web page with more information.
    #[serde(default)]
    pub link: Option<Link>,
}