pub struct SettingsBuilder { /* private fields */ }Expand description
Builder for Settings.
Implementations§
Source§impl SettingsBuilder
impl SettingsBuilder
pub fn core(self, core: CoreConfig) -> Self
pub fn inventory(self, inventory: InventoryConfig) -> Self
pub fn ssh(self, ssh: SSHConfig) -> Self
pub fn runner(self, runner: RunnerConfig) -> Self
pub fn logging(self, logging: LoggingConfig) -> Self
pub fn build(self) -> Settings
Trait Implementations§
Source§impl Default for SettingsBuilder
impl Default for SettingsBuilder
Source§fn default() -> SettingsBuilder
fn default() -> SettingsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SettingsBuilder
impl RefUnwindSafe for SettingsBuilder
impl Send for SettingsBuilder
impl Sync for SettingsBuilder
impl Unpin for SettingsBuilder
impl UnsafeUnpin for SettingsBuilder
impl UnwindSafe for SettingsBuilder
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