Struct openstreetmap_api::types::Node
source · [−]pub struct Node {
pub id: u64,
pub visible: bool,
pub version: u64,
pub changeset: u64,
pub timestamp: String,
pub user: Option<String>,
pub uid: Option<u64>,
pub lat: Option<f64>,
pub lon: Option<f64>,
pub tags: Vec<Tag>,
}
Fields
id: u64
visible: bool
version: u64
changeset: u64
timestamp: String
user: Option<String>
uid: Option<u64>
lat: Option<f64>
lon: Option<f64>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
sourcefn 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
impl StructuralPartialEq for Node
Auto Trait Implementations
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more