Struct osmpbfreader::objects::Node
source · pub struct Node {
pub id: NodeId,
pub tags: Tags,
pub decimicro_lat: i32,
pub decimicro_lon: i32,
}
Expand description
An OpenStreetMap node. See the OpenStreetMap wiki page about node for more information.
Fields§
§id: NodeId
The id of the node.
The tags of the node.
decimicro_lat: i32
The latitude in decimicro degrees (10⁻⁷ degrees).
decimicro_lon: i32
The longitude in decimicro degrees (10⁻⁷ degrees).
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
source§fn 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
source§impl Ord for Node
impl Ord for Node
source§impl PartialEq<Node> for Node
impl PartialEq<Node> for Node
source§impl PartialOrd<Node> for Node
impl PartialOrd<Node> for Node
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more