pub struct Settings {
    pub debug: bool,
    pub compact: bool,
    pub colored: bool,
    pub include_remote: bool,
    pub format: CommitFormat,
    pub wrapping: Option<(Option<usize>, Option<usize>, Option<usize>)>,
    pub characters: Characters,
    pub branch_order: BranchOrder,
    pub branches: BranchSettings,
    pub merge_patterns: MergePatterns,
}
Expand description

Top-level settings

Fields

debug: bool

Debug printing and drawing

compact: bool

Compact text-based graph

colored: bool

Colored text-based graph

include_remote: bool

Include remote branches?

format: CommitFormat

Formatting for commits

wrapping: Option<(Option<usize>, Option<usize>, Option<usize>)>

Text wrapping options

characters: Characters

Characters to use for text-based graph

branch_order: BranchOrder

Branch column sorting algorithm

branches: BranchSettings

Settings for branches

merge_patterns: MergePatterns

Regex patterns for finding branch names in merge commit summaries

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 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.