Struct osmpbfreader::objects::RelationId
source · pub struct RelationId(pub i64);
Expand description
A relation identifier
Tuple Fields§
§0: i64
Trait Implementations§
source§impl Clone for RelationId
impl Clone for RelationId
source§fn clone(&self) -> RelationId
fn clone(&self) -> RelationId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RelationId
impl Debug for RelationId
source§impl<'de> Deserialize<'de> for RelationId
impl<'de> Deserialize<'de> for RelationId
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 From<RelationId> for OsmId
impl From<RelationId> for OsmId
source§fn from(r: RelationId) -> Self
fn from(r: RelationId) -> Self
Converts to this type from the input type.
source§impl Hash for RelationId
impl Hash for RelationId
source§impl Ord for RelationId
impl Ord for RelationId
source§fn cmp(&self, other: &RelationId) -> Ordering
fn cmp(&self, other: &RelationId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<RelationId> for RelationId
impl PartialEq<RelationId> for RelationId
source§fn eq(&self, other: &RelationId) -> bool
fn eq(&self, other: &RelationId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RelationId> for RelationId
impl PartialOrd<RelationId> for RelationId
source§fn partial_cmp(&self, other: &RelationId) -> Option<Ordering>
fn partial_cmp(&self, other: &RelationId) -> Option<Ordering>
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