pub struct ConfigBuilder { /* private fields */ }Implementations§
Source§impl ConfigBuilder
impl ConfigBuilder
pub fn new() -> Self
pub fn version(self, version: ConfigVersion) -> Self
pub fn enabled(self, enabled: bool) -> Self
pub fn provider(self, provider: impl Into<String>) -> Self
pub fn providers(self, providers: Vec<String>) -> Self
pub fn cache_dir(self, path: PathBuf) -> Self
pub fn cache_ttl(self, seconds: u64) -> Self
pub fn parallel_execution(self, enabled: bool) -> Self
pub fn max_concurrent_jobs(self, jobs: usize) -> Self
pub fn provider_config(self, config: ProviderConfig) -> Self
pub fn filter_config(self, config: FilterConfig) -> Self
pub fn ui_config(self, config: UiConfig) -> Self
pub fn command(self, command: CommandConfig) -> Self
pub fn override_config(self, override_config: CommandOverride) -> Self
pub fn build(self) -> GlobalConfig
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConfigBuilder
impl RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnwindSafe for ConfigBuilder
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