Skip to content

Commit

Permalink
added osm_id to old school Link
Browse files Browse the repository at this point in the history
  • Loading branch information
calbaker committed Apr 3, 2024
1 parent 4da2727 commit 2f7a28c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rust/altrios-core/src/track/link/link_old.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ pub struct Link {
pub idx_curr: LinkIdx,
/// Index of adjacent link in reverse direction
pub idx_flip: LinkIdx,
/// Optional OpenStreetMap ID -- not used in simulation
#[serde(skip_serializing_if = "Option::is_none")]
pub osm_id: Option<String>,
#[serde(default)]
pub link_idxs_lockout: Vec<LinkIdx>,
}

0 comments on commit 2f7a28c

Please sign in to comment.