[][src]Struct starship::configs::git_status::GitStatusConfig

pub struct GitStatusConfig<'a> {
    pub stashed: SegmentConfig<'a>,
    pub ahead: SegmentConfig<'a>,
    pub behind: SegmentConfig<'a>,
    pub diverged: SegmentConfig<'a>,
    pub show_sync_count: bool,
    pub conflicted: SegmentConfig<'a>,
    pub conflicted_count: CountConfig,
    pub deleted: SegmentConfig<'a>,
    pub deleted_count: CountConfig,
    pub renamed: SegmentConfig<'a>,
    pub renamed_count: CountConfig,
    pub modified: SegmentConfig<'a>,
    pub modified_count: CountConfig,
    pub staged: SegmentConfig<'a>,
    pub staged_count: CountConfig,
    pub untracked: SegmentConfig<'a>,
    pub untracked_count: CountConfig,
    pub prefix: &'a str,
    pub suffix: &'a str,
    pub style: Style,
    pub disabled: bool,
}

Fields

stashed: SegmentConfig<'a>ahead: SegmentConfig<'a>behind: SegmentConfig<'a>diverged: SegmentConfig<'a>show_sync_count: boolconflicted: SegmentConfig<'a>conflicted_count: CountConfigdeleted: SegmentConfig<'a>deleted_count: CountConfigrenamed: SegmentConfig<'a>renamed_count: CountConfigmodified: SegmentConfig<'a>modified_count: CountConfigstaged: SegmentConfig<'a>staged_count: CountConfiguntracked: SegmentConfig<'a>untracked_count: CountConfigprefix: &'a strsuffix: &'a strstyle: Styledisabled: bool

Trait Implementations

impl<'a> RootModuleConfig<'a> for GitStatusConfig<'a>[src]

impl<'a> ModuleConfig<'a> for GitStatusConfig<'a>[src]

impl<'a> Clone for GitStatusConfig<'a>[src]

Auto Trait Implementations

impl<'a> Send for GitStatusConfig<'a>

impl<'a> Sync for GitStatusConfig<'a>

impl<'a> Unpin for GitStatusConfig<'a>

impl<'a> UnwindSafe for GitStatusConfig<'a>

impl<'a> RefUnwindSafe for GitStatusConfig<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self