Struct gpx::Metadata[][src]

pub struct Metadata {
    pub name: Option<String>,
    pub description: Option<String>,
    pub author: Option<Person>,
    pub links: Vec<Link>,
    pub time: Option<DateTime<Utc>>,
    pub keywords: Option<String>,
    pub copyright: Option<GpxCopyright>,
    pub bounds: Option<Rect<f64>>,
}
Expand description

Metadata is information about the GPX file, author, and copyright restrictions.

Providing rich, meaningful information about your GPX files allows others to search for and use your GPS data.

Fields

name: Option<String>

The name of the GPX file.

description: Option<String>

A description of the contents of the GPX file.

author: Option<Person>

The person or organization who created the GPX file.

links: Vec<Link>

URLs associated with the location described in the file.

time: Option<DateTime<Utc>>

The creation date of the file.

keywords: Option<String>

Keywords associated with the file. Search engines or databases can use this information to classify the data.

copyright: Option<GpxCopyright>

Information about the copyright holder and any license governing use of this file.

bounds: Option<Rect<f64>>

Bounds for the tracks in the GPX.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.