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 OutputFile
impl Send for OutputFile
impl Sync for OutputFile
impl Unpin for OutputFile
impl UnwindSafe for OutputFile
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
