pub struct StatOptions {Show 14 fields
pub list_elements: bool,
pub use_lstat: bool,
pub use_gmt: bool,
pub show_name: bool,
pub hide_name: bool,
pub show_type: bool,
pub hide_type: bool,
pub raw_format: bool,
pub string_format: bool,
pub octal_mode: bool,
pub element: Option<StatElement>,
pub array_name: Option<String>,
pub hash_name: Option<String>,
pub time_format: Option<String>,
}Expand description
Options for stat builtin
Fields§
§list_elements: bool§use_lstat: bool§use_gmt: bool§show_name: bool§hide_name: bool§show_type: bool§hide_type: bool§raw_format: bool§string_format: bool§octal_mode: bool§element: Option<StatElement>§array_name: Option<String>§hash_name: Option<String>§time_format: Option<String>Trait Implementations§
Source§impl Debug for StatOptions
impl Debug for StatOptions
Source§impl Default for StatOptions
impl Default for StatOptions
Source§fn default() -> StatOptions
fn default() -> StatOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatOptions
impl RefUnwindSafe for StatOptions
impl Send for StatOptions
impl Sync for StatOptions
impl Unpin for StatOptions
impl UnsafeUnpin for StatOptions
impl UnwindSafe for StatOptions
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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