pub struct AnnotateOptions {Show 15 fields
pub path: PathBuf,
pub apply: bool,
pub convert: bool,
pub from: ConversionSource,
pub level: AnnotateLevel,
pub format: OutputFormat,
pub filter: Option<String>,
pub files_only: bool,
pub symbols_only: bool,
pub check: bool,
pub min_coverage: Option<f32>,
pub workers: Option<usize>,
pub verbose: bool,
pub no_provenance: bool,
pub mark_needs_review: bool,
}Expand description
Options for the annotate command
Fields§
§path: PathBufPath to analyze
apply: boolApply changes directly
convert: boolConvert from existing doc format only (no heuristics)
from: ConversionSourceSource format for conversion
level: AnnotateLevelAnnotation detail level
format: OutputFormatOutput format
filter: Option<String>Filter by path pattern
files_only: boolOnly process file-level annotations
symbols_only: boolOnly process symbol-level annotations
check: boolCI mode - check coverage threshold
min_coverage: Option<f32>Minimum coverage threshold for CI mode
workers: Option<usize>Number of parallel workers
verbose: boolVerbose output
no_provenance: boolRFC-0003: Disable provenance markers
mark_needs_review: boolRFC-0003: Mark all generated annotations as needing review
Trait Implementations§
Source§impl Clone for AnnotateOptions
impl Clone for AnnotateOptions
Source§fn clone(&self) -> AnnotateOptions
fn clone(&self) -> AnnotateOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnnotateOptions
impl Debug for AnnotateOptions
Auto Trait Implementations§
impl Freeze for AnnotateOptions
impl RefUnwindSafe for AnnotateOptions
impl Send for AnnotateOptions
impl Sync for AnnotateOptions
impl Unpin for AnnotateOptions
impl UnwindSafe for AnnotateOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more