Struct actix_files::Directory
source · pub struct Directory {
pub base: PathBuf,
pub path: PathBuf,
}
Expand description
A directory; responds with the generated directory listing.
Fields§
§base: PathBuf
Base directory.
path: PathBuf
Path of subdirectory to generate listing for.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Directory
impl RefUnwindSafe for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl UnwindSafe for Directory
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