useserde::Deserialize;usestd::ffi::OsString;/// Configuration for a particular hook to invoke
#[derive(Default, Deserialize, Debug)]#[serde(deny_unknown_fields)]pubstructHookConfig{/// Command (with arguments) to invoke
pubcmd:Vec<OsString>,
/// Timeout (in seconds) to wait when executing the command (default 5)
pubtimeout_secs:Option<u64>,
/// Whether or not to fail open or closed if this command fails to execute.
/// Failing closed will prevent the KMS from starting if this command fails.
pubfail_closed:bool,
}