pub struct RazConfig {
pub version: ConfigVersion,
pub enabled: bool,
pub providers: Vec<String>,
pub cache_dir: Option<PathBuf>,
pub cache_ttl: Option<u64>,
pub parallel_execution: Option<bool>,
pub max_concurrent_jobs: Option<usize>,
}Fields§
§version: ConfigVersion§enabled: bool§providers: Vec<String>§cache_dir: Option<PathBuf>§cache_ttl: Option<u64>§parallel_execution: Option<bool>§max_concurrent_jobs: Option<usize>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RazConfig
impl<'de> Deserialize<'de> for RazConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RazConfig
impl RefUnwindSafe for RazConfig
impl Send for RazConfig
impl Sync for RazConfig
impl Unpin for RazConfig
impl UnwindSafe for RazConfig
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