pub struct LintArgs {
pub command: Option<LintCommand>,
pub target: Utf8PathBuf,
pub profile: Option<ProfileId>,
pub json: bool,
}Expand description
Report what the Markdown linter will read, or prove its link rule runs.
Fields§
§command: Option<LintCommand>What to do. The report is the default.
target: Utf8PathBufThe repository to read; absolute, or the working directory.
profile: Option<ProfileId>The candidate profile to read before a landing; an instance reads its recorded profile, which a different value refuses.
json: boolPrint one JSON object instead of text.
Trait Implementations§
Source§impl Args for LintArgs
impl Args for LintArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for LintArgs
impl FromArgMatches for LintArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Forget for LintArgs
impl Freeze for LintArgs
impl Move for LintArgs
impl RefUnwindSafe for LintArgs
impl Send for LintArgs
impl Sync for LintArgs
impl Unpin for LintArgs
impl UnsafeUnpin for LintArgs
impl UnwindSafe for LintArgs
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