Struct osm_proto_rs::osmformat::Info [] [src]

pub struct Info {
    pub version: Option<i32>,
    pub timestamp: Option<i64>,
    pub changeset: Option<i64>,
    pub uid: Option<i32>,
    pub user_sid: Option<u32>,
    pub visible: Option<bool>,
}

Optional metadata that may be included into each primitive.

Fields

String IDs

The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set.

Methods

impl Info
[src]

Trait Implementations

impl Clone for Info
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Info
[src]

Formats the value using the given formatter.

impl PartialEq for Info
[src]

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

This method tests for !=.