[][src]Struct osm_primitives::ElementMetadata

pub struct ElementMetadata {
    pub id: i64,
    pub user: String,
    pub uid: u64,
    pub version: u32,
    pub changeset: u64,
    pub timestamp: String,
}

Common metadata for an element

Openstreetmap wiki

Fields

id: i64user: String

The display name of the user who last modified the object; exclusively informative and may be empty. A user can change their display name at any time (existing elements will reflect the new user name without needing any version change).

uid: u64

The user-id of the user who last modified the object.

version: u32

The version of the object; newly created objects start at version 1 and the value is incremented by the server when a client uploads a new version of the object.

changeset: u64

The changeset number in which the object was created or last updated.

timestamp: String

Time of the last modification, encoded in any W3C standard date and time format

Trait Implementations

impl Clone for ElementMetadata[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<ElementMetadata> for ElementMetadata[src]

impl Debug for ElementMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.