pub struct Sign {
pub exit_number_elements: Vec<ManeuverSignElement>,
pub exit_branch_elements: Vec<ManeuverSignElement>,
pub exit_toward_elements: Vec<ManeuverSignElement>,
pub exit_name_elements: Vec<ManeuverSignElement>,
}
Expand description
A sign is a collection of elements that are used to describe the exit number, exit branch, exit toward, and exit name.
Fields§
§exit_number_elements: Vec<ManeuverSignElement>
list of exit number elements.
If an exit number element exists, it is typically just one value
Example: 91B
exit_branch_elements: Vec<ManeuverSignElement>
Exit branch elements.
The exit branch element text is the subsequent road name or route number after the sign
Example: I 95 North
exit_toward_elements: Vec<ManeuverSignElement>
Exit toward elements.
The exit toward element text is the location where the road ahead goes. The location is typically a control city, but may also be a future road name or route number.
Example: New York
exit_name_elements: Vec<ManeuverSignElement>
Exit name elements.
The exit name element is the interchange identifier. Typically not used in the US.
Example: Gettysburg Pike
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sign
impl<'de> Deserialize<'de> for Sign
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
Auto Trait Implementations§
impl Freeze for Sign
impl RefUnwindSafe for Sign
impl Send for Sign
impl Sync for Sign
impl Unpin for Sign
impl UnwindSafe for Sign
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