pub struct Config {
pub open_tag: String,
pub close_tag: String,
pub end_command: String,
pub base_dir: String,
pub files: Vec<String>,
pub next_dirs: Vec<String>,
pub depend_dirs: Vec<String>,
pub out_dir: Option<String>,
}Fields§
§open_tag: StringThe opening tag for commands
close_tag: StringThe closing tag for commands
end_command: StringThe command used to end a block
base_dir: StringRelative path of the base directory used to reference imported files
files: Vec<String>Relative paths of files to process
next_dirs: Vec<String>Relative paths of directories to process after this one
depend_dirs: Vec<String>Relative paths of directories to process before this one
out_dir: Option<String>Relative path of output directory
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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