pub struct Config { /* private fields */ }Implementations§
Source§impl Config
impl Config
pub fn new<G: Fn() -> DateTime<Utc>>( args: Vec<String>, piped: bool, factory: G, ) -> MyResult<Self>
pub fn curr_time(&self) -> &DateTime<Utc>
pub fn min_depth(&self) -> Option<usize>
pub fn max_depth(&self) -> Option<usize>
pub fn show_indent(&self) -> bool
pub fn zip_expand(&self) -> bool
pub fn zip_password(&self) -> &Option<String>
pub fn case_sensitive(&self) -> Option<bool>
pub fn sort_order(&self) -> &Vec<OrderKind>
pub fn sort_name(&self) -> bool
pub fn filter_recent(&self) -> RecentKind
pub fn filter_types(&self) -> Option<&HashSet<FileKind>>
pub fn filter_git(&self) -> Option<&GitFlags>
pub fn show_debug(&self) -> bool
pub fn show_precise(&self) -> bool
pub fn show_utc(&self) -> bool
pub fn show_total(&self) -> bool
pub fn show_owner(&self) -> bool
pub fn show_crc(&self) -> bool
pub fn show_sig(&self) -> bool
pub fn only_path(&self) -> bool
pub fn escape_path(&self) -> bool
pub fn null_path(&self) -> bool
pub fn abs_path(&self) -> bool
pub fn color(&self) -> Option<ColorChoice>
pub fn quiet(&self) -> bool
pub fn completion(&self) -> Option<Shell>
pub fn patterns(&self) -> &Vec<String>
pub fn start_time<Tz: TimeZone>(&self, zone: &Tz) -> Option<DateTime<Utc>>
pub fn want_decrypt(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more