pub enum RemoveDirectoryIndexOptions {
None,
Default,
List(Vec<Regex>),
}
Expand description
Controls whether directory index will be removed.
Variants§
None
No directory indices will be removed.
Default
Default regex ^index\.[a-z]+$
wil be used.
List(Vec<Regex>)
Only directory indices matching provided regular expressions will be removed.
Trait Implementations§
Source§impl Clone for RemoveDirectoryIndexOptions
impl Clone for RemoveDirectoryIndexOptions
Source§fn clone(&self) -> RemoveDirectoryIndexOptions
fn clone(&self) -> RemoveDirectoryIndexOptions
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for RemoveDirectoryIndexOptions
impl RefUnwindSafe for RemoveDirectoryIndexOptions
impl Send for RemoveDirectoryIndexOptions
impl Sync for RemoveDirectoryIndexOptions
impl Unpin for RemoveDirectoryIndexOptions
impl UnwindSafe for RemoveDirectoryIndexOptions
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