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
version: Option<i32>
timestamp: Option<i64>
changeset: Option<i64>
uid: Option<i32>
user_sid: Option<u32>
String IDs
visible: Option<bool>
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]
fn version(&mut self) -> &mut i32
fn timestamp(&mut self) -> &mut i64
fn changeset(&mut self) -> &mut i64
fn uid(&mut self) -> &mut i32
fn user_sid(&mut self) -> &mut u32
fn visible(&mut self) -> &mut bool
Trait Implementations
impl Clone for Info
[src]
fn clone(&self) -> Info
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more