1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/// Module containing configuration-related functionality.
///
/// This module provides structures and builders for configuring the system.
/// It includes the main configuration structure `Config`, as well as a
/// builder for constructing configurations more conveniently.
///
/// # Examples
///
/// Creating a basic configuration:
///
/// ```rust
/// use my_module::config::Config;
///
/// let config = Config::default();
/// ```
///
/// Using a configuration builder for more flexibility:
///
/// ```rust
/// use my_module::config_builder::ConfigBuilder;
///
/// let builder = ConfigBuilder::new()
///     .version(1.0)
///     .querent_id("user123")
///     .querent_name("John Doe")
///     .build();
/// ```
pub mod config;

/// Re-export of the `Config` struct from the `config` module.
pub use config::Config;

/// 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:
///
/// ```rust
/// use my_module::config_builder::ConfigBuilder;
///
/// let builder = ConfigBuilder::new()
///     .version(1.0)
///     .querent_id("user123")
///     .querent_name("John Doe");
///
/// let config = builder.build();
/// ```
pub mod config_builder;

/// Re-export of the `ConfigBuilder` struct from the `config_builder` module.
pub use config_builder::*;

/// Module containing the configuration for a Neo4j query.
///
/// This module provides a configuration structure `Neo4jQueryConfig` for
/// setting up a connection to a Neo4j database and executing queries.
pub mod neo4j_query_config;
pub use neo4j_query_config::Neo4jQueryConfig;