pub struct FileUrl {
pub path: PathBuf,
pub raw: bool,
pub hidden: bool,
pub follow_symlinks: bool,
}Expand description
URL shape for file:// addresses.
path is the platform-native file path extracted from the URL.
raw disables the default newline trimming performed on get.
Fields§
§path: PathBuf§raw: boolInclude dotfiles in list results.
follow_symlinks: boolFollow symlinks during ** glob traversal in list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileUrl
impl RefUnwindSafe for FileUrl
impl Send for FileUrl
impl Sync for FileUrl
impl Unpin for FileUrl
impl UnsafeUnpin for FileUrl
impl UnwindSafe for FileUrl
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