pub struct Relation {
pub id: Id,
pub tags: FnvHashMap<KString, KString>,
pub info: Option<Info>,
pub members: Vec<Member>,
}
Expand description
Ordered list of Elements
This is a logical representation https://wiki.openstreetmap.org/wiki/Relation
Fields§
§id: Id
§info: Option<Info>
§members: Vec<Member>
There should be no more than 300 members per relation, with a hard limit of 32,000
Implementations§
Trait Implementations§
impl Eq for Relation
impl StructuralPartialEq for Relation
Auto Trait Implementations§
impl Freeze for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnwindSafe for Relation
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