Struct tbl_core::filesystem::outputs::OutputPathSpec
source · pub struct OutputPathSpec {
pub inputs: Option<Vec<PathBuf>>,
pub output_dir: Option<PathBuf>,
pub tree: bool,
pub file_prefix: Option<String>,
pub file_postfix: Option<String>,
pub sort: bool,
}Expand description
output path spec
Fields§
§inputs: Option<Vec<PathBuf>>inputs
output_dir: Option<PathBuf>output_dir
tree: booltree
file_prefix: Option<String>file_prefix
file_postfix: Option<String>file_postfix
sort: boolsort
Implementations§
source§impl OutputPathSpec
impl OutputPathSpec
sourcepub fn inputs<I>(self, inputs: I) -> Selfwhere
I: Into<InputPaths>,
pub fn inputs<I>(self, inputs: I) -> Selfwhere
I: Into<InputPaths>,
set inputs
sourcepub fn output_dir<T>(self, output_dir: T) -> Selfwhere
T: Into<OutputDirType>,
pub fn output_dir<T>(self, output_dir: T) -> Selfwhere
T: Into<OutputDirType>,
set output_dir
sourcepub fn file_prefix<T>(self, file_prefix: T) -> Self
pub fn file_prefix<T>(self, file_prefix: T) -> Self
set file_prefix
sourcepub fn file_postfix<T>(self, file_postfix: T) -> Self
pub fn file_postfix<T>(self, file_postfix: T) -> Self
set file_postfix
Trait Implementations§
source§impl Debug for OutputPathSpec
impl Debug for OutputPathSpec
source§impl Default for OutputPathSpec
impl Default for OutputPathSpec
source§fn default() -> OutputPathSpec
fn default() -> OutputPathSpec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OutputPathSpec
impl RefUnwindSafe for OutputPathSpec
impl Send for OutputPathSpec
impl Sync for OutputPathSpec
impl Unpin for OutputPathSpec
impl UnwindSafe for OutputPathSpec
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more