src/server.rs: improve crate layout

This commit is contained in:
Dietmar Maurer
2019-04-06 09:17:25 +02:00
parent 4b01c983f0
commit 882594c5e9
4 changed files with 49 additions and 11 deletions

View File

@ -3,6 +3,7 @@ use crate::api_schema::router::*;
use std::collections::HashMap;
use serde_json::Value;
/// Encapsulates information about the runtime environment
pub struct RestEnvironment {
env_type: RpcEnvironmentType,
result_attributes: HashMap<String, Value>,