pub struct Context<W> {
    pub ignore_bots: bool,
    pub show_pii: bool,
    pub file_stats: bool,
    pub line_stats: bool,
    pub threads: Option<usize>,
    pub omit_unify_identities: bool,
    pub out: W,
}
Available on crate feature estimate-hours only.
Expand description

Additional configuration for the hours estimation functionality.

Fields

ignore_bots: bool

Ignore github bots which match the [bot] search string.

show_pii: bool

Show personally identifiable information before the summary. Includes names and email addresses.

file_stats: bool

Collect how many files have been added, removed and modified (without rename tracking).

line_stats: bool

Collect how many lines in files have been added, removed and modified (without rename tracking).

threads: Option<usize>

The amount of threads to use. If unset, use all cores, if 0 use al physical cores.

omit_unify_identities: bool

Omit unifying identities by name and email which can lead to the same author appear multiple times due to using different names or email addresses.

out: W

Where to write our output to

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.