pub struct FsMetadata {
pub is_file: bool,
pub is_directory: bool,
pub is_symlink: bool,
}
Fields§
§is_file: bool
§is_directory: bool
§is_symlink: bool
Trait Implementations§
Source§impl Clone for FsMetadata
impl Clone for FsMetadata
Source§fn clone(&self) -> FsMetadata
fn clone(&self) -> FsMetadata
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 FsMetadata
impl Debug for FsMetadata
Source§impl Default for FsMetadata
impl Default for FsMetadata
Source§fn default() -> FsMetadata
fn default() -> FsMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FsMetadata
impl RefUnwindSafe for FsMetadata
impl Send for FsMetadata
impl Sync for FsMetadata
impl Unpin for FsMetadata
impl UnwindSafe for FsMetadata
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