Struct diem_management::secure_backend::SecureBackend
source · pub struct SecureBackend {
pub backend: String,
pub parameters: HashMap<String, String>,
}
Expand description
SecureBackend is a parameter that is stored as set of semi-colon separated key/value pairs. The only expected key is backend which defines which of the SecureBackends the parameters refer to. Some backends require parameters others do not, so that requires a conversion into the config::SecureBackend type to parse.
Example: backend=vault;server=http://127.0.0.1:8080;token=/path/to/token
Fields§
§backend: String
§parameters: HashMap<String, String>
Trait Implementations§
source§impl Clone for SecureBackend
impl Clone for SecureBackend
source§fn clone(&self) -> SecureBackend
fn clone(&self) -> SecureBackend
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more