pub struct Projects {
pub excludes: Vec<PathBuf>,
pub exclude_cwd: bool,
pub mtime: bool,
pub pattern: Option<String>,
pub git: bool,
pub tmux: bool,
}Fields§
§excludes: Vec<PathBuf>Exclude matching sessions from output.
exclude_cwd: boolExclude current working directory from output.
mtime: boolMatch all child directories.
Uses the directory mtime as the timestamp.
pattern: Option<String>Match directories containing
Uses the directory mtime as the timestamp. PATTERN should be a path relative to the searched directory.
git: boolMatch git repositories.
Uses the most recient commit as the timestamp.
tmux: boolUse existing tmux sessions for project timestamps
Note: This only used for sorting projects using session_last_attached (or
session_created if not yet attached). For adding existing tmux session’s paths to the
output, see -T|--sessions.
Trait Implementations§
Source§impl Args for Projects
impl Args for Projects
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for Projects
impl FromArgMatches for Projects
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for Projects
impl RefUnwindSafe for Projects
impl Send for Projects
impl Sync for Projects
impl Unpin for Projects
impl UnwindSafe for Projects
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