rc/api2/admin/datastore/h2upload.rs: implement BackupEnvironment

To pass arbitrary information/state to api methods.
This commit is contained in:
Dietmar Maurer
2019-05-08 11:26:54 +02:00
parent f757b30efc
commit 58c8d7d91f
2 changed files with 64 additions and 10 deletions

View File

@ -4,7 +4,6 @@ use std::collections::HashMap;
use serde_json::Value;
/// Encapsulates information about the runtime environment
#[derive(Clone)]
pub struct RestEnvironment {
env_type: RpcEnvironmentType,
result_attributes: HashMap<String, Value>,