fn fmt()

in libazureinit/src/config.rs [302:309]


    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(
            f,
            "{}",
            toml::to_string_pretty(self)
                .unwrap_or_else(|_| "Unable to serialize config.".to_string())
        )
    }