rc/api2/admin/datastore/h2upload.rs: implement BackupEnvironment
To pass arbitrary information/state to api methods.
This commit is contained in:
1 parent
f757b30efc
commit
58c8d7d91f
2 files changed
+64
-10
No files matched your search
@@ -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>,
|
||||
|
||||
Reference in new issue
Block a user