Struct weld_codegen::config::OutputFile [−][src]
pub struct OutputFile {
pub path: PathBuf,
pub hbs: Option<String>,
pub create_only: bool,
pub namespace: Option<String>,
pub params: BTreeMap<String, TomlValue>,
}Expand description
Output-file specific settings
Fields
path: PathBufpath to output file, relative to language output_dir. Required.
hbs: Option<String>name of handlebars template file (without hbs extension) Not used for files generated by codegen
create_only: boolTrue if file should be generated only for ‘create’ operations
namespace: Option<String>Optionally, limit code generation for this file to shapes in this namespace
params: BTreeMap<String, TomlValue>optional additional parameters for this file
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for OutputFileimpl Send for OutputFileimpl Sync for OutputFileimpl Unpin for OutputFileimpl UnwindSafe for OutputFile