github.com/omniscale/go-osm@v0.3.1/diff.go (about) 1 package osm 2 3 // A Diff contains a change operation on a single OSM element. 4 type Diff struct { 5 // Create specifies whether the element was created. 6 Create bool 7 // Modify specifies whether the element was modified. 8 Modify bool 9 // Delete specifies whether the element was deleted. 10 Delete bool 11 // Node points to the actual node, if a node was changed. 12 Node *Node 13 // Way points to the actual way, if a way was changed. 14 Way *Way 15 // Rel points to the actual relation, if a relation was changed. 16 Rel *Relation 17 }