[−][src]Struct starship::configs::git_status::GitStatusConfig
Fields
stashed: SegmentConfig<'a>
ahead: SegmentConfig<'a>
behind: SegmentConfig<'a>
diverged: SegmentConfig<'a>
show_sync_count: bool
conflicted: SegmentConfig<'a>
conflicted_count: CountConfig
deleted: SegmentConfig<'a>
deleted_count: CountConfig
renamed: SegmentConfig<'a>
renamed_count: CountConfig
modified: SegmentConfig<'a>
modified_count: CountConfig
staged: SegmentConfig<'a>
staged_count: CountConfig
untracked: SegmentConfig<'a>
untracked_count: CountConfig
prefix: &'a str
suffix: &'a str
style: Style
disabled: bool
Trait Implementations
impl<'a> RootModuleConfig<'a> for GitStatusConfig<'a>
[src]
fn new() -> Self
[src]
fn load(config: &'a Value) -> Self
[src]
fn try_load(config: Option<&'a Value>) -> Self
[src]
impl<'a> ModuleConfig<'a> for GitStatusConfig<'a>
[src]
fn from_config(config: &'a Value) -> Option<Self>
[src]
fn load_config(&self, config: &'a Value) -> Self
[src]
impl<'a> Clone for GitStatusConfig<'a>
[src]
fn clone(&self) -> GitStatusConfig<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self