Module querent_synapse::config::config_builder

source ·
Expand description

Module containing a builder for the configuration structures.

The ConfigBuilder allows for a more flexible and fluent way to construct configurations by chaining method calls.

§Examples

Using the ConfigBuilder to create a configuration:

use my_module::config_builder::ConfigBuilder;

let builder = ConfigBuilder::new()
    .version(1.0)
    .querent_id("user123")
    .querent_name("John Doe");

let config = builder.build();

Structs§