pub struct Metadata {
pub name: Option<String>,
pub description: Option<String>,
pub author: Option<Person>,
pub links: Vec<Link>,
pub time: Option<Time>,
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.
The person or organization who created the GPX file.
links: Vec<Link>
URLs associated with the location described in the file.
time: Option<Time>
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§
source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
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
source§impl PartialEq for Metadata
impl PartialEq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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