pub struct Response {
pub version: Version,
pub tileset_last_modified: DateTime<Utc>,
pub available_actions: HashSet<String>,
pub verbose: Option<VerboseStatus>,
}
Expand description
Response to a Manifest
request
Fields§
§version: Version
Current Valhalla version
Example: 3.1.4
tileset_last_modified: DateTime<Utc>
Time the tile_extract or tile_dir were last modified
available_actions: HashSet<String>
Actions which are available to a consumer.
Can be used in applications to enable/disable parts of the UI such as an elevation map.
Example: ["expansion","height","status","trace_attributes","trace_route","optimized_route","sources_to_targets","isochrone","route","locate"]
verbose: Option<VerboseStatus>
Verbose information about the deployment
Only included if
- requested via
Manifest::verbose_output
(default:false
) and - allowed via the configuration option
service_limits.status.allow_verbose
(default:false
)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
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 Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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