Skip to content

AuthorityConfig

Functions

  • to_schema - Map back to the behavior-free [schema::AuthorityConfig] wire shape.

firma_authority::config::AuthorityConfig::to_schema

Section titled “firma_authority::config::AuthorityConfig::to_schema”

Function

Map back to the behavior-free [schema::AuthorityConfig] wire shape.

Autostart serializes this schema form (not the validated type) so the synthetic [authority] TOML uses the stable wire keys.

This conversion is infallible for builder-produced runtime state. The result remains fallible for API compatibility with existing callers.

fn to_schema(self: &Self) -> Result<schema::AuthorityConfig, ConfigError>