Skip to main content

write_yaml_file

Function write_yaml_file 

Source
pub fn write_yaml_file<T: Serialize, P: AsRef<Path>>(
    data: &T,
    path: P,
) -> Result<()>
Expand description

Writes a data structure to a YAML file.