pub struct Info {
pub version: i32,
pub timestamp: Option<NaiveDateTime>,
pub changeset: Option<i64>,
pub uid: Option<i32>,
pub user: Option<KString>,
pub visible: Option<bool>,
}
Expand description
Non-geographical information about a Element
https://wiki.openstreetmap.org/wiki/Elements#Common_attributes
Fields§
§version: i32
Version number of this revision of the Element
Starts at 1 and incremented with each update
timestamp: Option<NaiveDateTime>
Time of last modification
changeset: Option<i64>
Group of edits that this version belongs to
uid: Option<i32>
ID of user who performed the last modification
user: Option<KString>
Display name of the user
This will change without a version increment if the user modifies their display name.
visible: Option<bool>
Whether a Element is visible or not
Assume this to be true if it is None. If [Some(false)], the Element was deleted and was returned by a history call.
Trait Implementations§
impl Eq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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