pub struct VisualizeIsochroneResponse
pub width: i32,
pub height: i32,
pub bg_color: i64,
pub image_data: ByteBuf,
pub info: HashMap<String, String>,
pub solve_info: HashMap<String, String>,
pub contour_info: HashMap<String, String>,
The response from the /visualize/isochrone endpoint.
Fields
width: i32Width of the image as provided in width.
height: i32Height of the image as provided in height.
bg_color: i64Background color of the image as provided in bg_color.
image_data: ByteBufGenerated contour image data.
info: HashMap<String, String>Additional information.
solve_info: HashMap<String, String>Additional information.
contour_info: HashMap<String, String>Additional information.
Trait Implementations
Source
impl Clone for VisualizeIsochroneResponse
Source
fn clone(&self) -> VisualizeIsochroneResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource
impl Debug for VisualizeIsochroneResponse
Source
impl Default for VisualizeIsochroneResponse
Returns the “default value” for a type. Read more
Source
impl<‘de> Deserialize<‘de> for VisualizeIsochroneResponse
Sourcefn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
Deserialize this value from the given Serde deserializer. Read more