Struct mlc::OptionalConfig
source · pub struct OptionalConfig {
pub debug: Option<bool>,
pub do_not_warn_for_redirect_to: Option<Vec<String>>,
pub markup_types: Option<Vec<MarkupType>>,
pub offline: Option<bool>,
pub match_file_extension: Option<bool>,
pub ignore_links: Option<Vec<String>>,
pub ignore_path: Option<Vec<PathBuf>>,
pub root_dir: Option<PathBuf>,
pub gitignore: Option<bool>,
pub throttle: Option<u32>,
}
Fields§
§debug: Option<bool>
§do_not_warn_for_redirect_to: Option<Vec<String>>
§markup_types: Option<Vec<MarkupType>>
§offline: Option<bool>
§match_file_extension: Option<bool>
§ignore_links: Option<Vec<String>>
§ignore_path: Option<Vec<PathBuf>>
§root_dir: Option<PathBuf>
§gitignore: Option<bool>
§throttle: Option<u32>
Trait Implementations§
source§impl Debug for OptionalConfig
impl Debug for OptionalConfig
source§impl Default for OptionalConfig
impl Default for OptionalConfig
source§fn default() -> OptionalConfig
fn default() -> OptionalConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OptionalConfig
impl<'de> Deserialize<'de> for OptionalConfig
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 OptionalConfig
impl RefUnwindSafe for OptionalConfig
impl Send for OptionalConfig
impl Sync for OptionalConfig
impl Unpin for OptionalConfig
impl UnwindSafe for OptionalConfig
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