pub struct ModuleConfig {
pub auto_initialize: bool,
pub init_timeout: Option<Duration>,
pub validate_dependencies: bool,
pub parameters: HashMap<String, String>,
}
Expand description
Module configuration options
Fields§
§auto_initialize: bool
Whether to automatically initialize the module
init_timeout: Option<Duration>
Initialization timeout
validate_dependencies: bool
Whether to validate dependencies before loading
parameters: HashMap<String, String>
Additional configuration parameters
Trait Implementations§
Source§impl Clone for ModuleConfig
impl Clone for ModuleConfig
Source§fn clone(&self) -> ModuleConfig
fn clone(&self) -> ModuleConfig
Returns a duplicate 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 moreSource§impl Debug for ModuleConfig
impl Debug for ModuleConfig
Auto Trait Implementations§
impl Freeze for ModuleConfig
impl RefUnwindSafe for ModuleConfig
impl Send for ModuleConfig
impl Sync for ModuleConfig
impl Unpin for ModuleConfig
impl UnwindSafe for ModuleConfig
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