pub struct LsConfig {Show 32 fields
pub all: bool,
pub almost_all: bool,
pub long_format: bool,
pub human_readable: bool,
pub si: bool,
pub reverse: bool,
pub recursive: bool,
pub sort_by: SortBy,
pub format: OutputFormat,
pub classify: ClassifyMode,
pub color: ColorMode,
pub group_directories_first: bool,
pub show_inode: bool,
pub show_size: bool,
pub show_owner: bool,
pub show_group: bool,
pub numeric_ids: bool,
pub dereference: bool,
pub directory: bool,
pub time_field: TimeField,
pub time_style: TimeStyle,
pub ignore_patterns: Vec<String>,
pub ignore_backups: bool,
pub width: usize,
pub quoting_style: QuotingStyle,
pub hide_control_chars: bool,
pub kibibytes: bool,
pub indicator_style: IndicatorStyle,
pub tab_size: usize,
pub hyperlink: HyperlinkMode,
pub context: bool,
pub literal: bool,
}Expand description
Full configuration for ls.
Fields§
§all: bool§almost_all: bool§long_format: bool§human_readable: bool§si: bool§reverse: bool§recursive: bool§sort_by: SortBy§format: OutputFormat§classify: ClassifyMode§color: ColorMode§group_directories_first: bool§show_inode: bool§show_size: bool§show_owner: bool§show_group: bool§numeric_ids: bool§dereference: bool§directory: bool§time_field: TimeField§time_style: TimeStyle§ignore_patterns: Vec<String>§ignore_backups: bool§width: usize§quoting_style: QuotingStyle§hide_control_chars: bool§kibibytes: bool§indicator_style: IndicatorStyle§tab_size: usize§hyperlink: HyperlinkMode§context: bool§literal: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for LsConfig
impl RefUnwindSafe for LsConfig
impl Send for LsConfig
impl Sync for LsConfig
impl Unpin for LsConfig
impl UnsafeUnpin for LsConfig
impl UnwindSafe for LsConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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