pub struct WorktreeStatusConfig {
pub show_files: bool,
pub max_files_shown: usize,
pub show_commit_messages: bool,
pub max_commits_shown: usize,
}Expand description
Configuration for status display
Fields§
§show_files: boolShow file lists in status output
max_files_shown: usizeMaximum number of files to display
show_commit_messages: boolShow commit messages for unpushed commits
max_commits_shown: usizeMaximum number of commits to display
Trait Implementations§
Source§impl Clone for WorktreeStatusConfig
impl Clone for WorktreeStatusConfig
Source§fn clone(&self) -> WorktreeStatusConfig
fn clone(&self) -> WorktreeStatusConfig
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 WorktreeStatusConfig
impl Debug for WorktreeStatusConfig
Source§impl Default for WorktreeStatusConfig
impl Default for WorktreeStatusConfig
Source§impl<'de> Deserialize<'de> for WorktreeStatusConfig
impl<'de> Deserialize<'de> for WorktreeStatusConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WorktreeStatusConfig
impl RefUnwindSafe for WorktreeStatusConfig
impl Send for WorktreeStatusConfig
impl Sync for WorktreeStatusConfig
impl Unpin for WorktreeStatusConfig
impl UnsafeUnpin for WorktreeStatusConfig
impl UnwindSafe for WorktreeStatusConfig
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