pub struct RuntimeOptions {
pub key_file: Option<PathBuf>,
pub key_b64: Option<String>,
pub environment: Option<String>,
}Expand description
Options for build_config_runtime. All fields optional — the function
falls back to environment variables / defaults for anything left unset.
Fields§
§key_file: Option<PathBuf>Override SMOO_CONFIG_KEY_FILE (blob path on disk).
key_b64: Option<String>Override SMOO_CONFIG_KEY (base64 AES-256 key).
environment: Option<String>Override the ConfigManager’s environment name (e.g. production).
Trait Implementations§
Source§impl Default for RuntimeOptions
impl Default for RuntimeOptions
Source§fn default() -> RuntimeOptions
fn default() -> RuntimeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuntimeOptions
impl RefUnwindSafe for RuntimeOptions
impl Send for RuntimeOptions
impl Sync for RuntimeOptions
impl Unpin for RuntimeOptions
impl UnsafeUnpin for RuntimeOptions
impl UnwindSafe for RuntimeOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more