pub struct DirectorySourceOptionsBuilder { /* private fields */ }Available on crate feature
dir_source only.Expand description
Builder for DirectorySourceOptions.
Implementations§
Source§impl DirectorySourceOptionsBuilder
impl DirectorySourceOptionsBuilder
Sourcepub fn tpl_extension<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn tpl_extension<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The name extension for template files
Whether to include hidden files (file name that starts with .)
Sourcepub fn temporary(&mut self, value: bool) -> &mut Self
pub fn temporary(&mut self, value: bool) -> &mut Self
Whether to include temporary files (file name that starts with #)
Sourcepub fn build(
&self,
) -> Result<DirectorySourceOptions, DirectorySourceOptionsBuilderError>
pub fn build( &self, ) -> Result<DirectorySourceOptions, DirectorySourceOptionsBuilderError>
Trait Implementations§
Source§impl Clone for DirectorySourceOptionsBuilder
impl Clone for DirectorySourceOptionsBuilder
Source§fn clone(&self) -> DirectorySourceOptionsBuilder
fn clone(&self) -> DirectorySourceOptionsBuilder
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 moreAuto Trait Implementations§
impl Freeze for DirectorySourceOptionsBuilder
impl RefUnwindSafe for DirectorySourceOptionsBuilder
impl Send for DirectorySourceOptionsBuilder
impl Sync for DirectorySourceOptionsBuilder
impl Unpin for DirectorySourceOptionsBuilder
impl UnwindSafe for DirectorySourceOptionsBuilder
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