MCPcopy Create free account
hub / github.com/actix/examples / ExampleConfig

Class ExampleConfig

databases/postgres/src/config.rs:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4#[derive(Debug, Default, Configuration)]
5pub struct ExampleConfig {
6 pub server_addr: String,
7 #[confik(from = DbConfig)]
8 pub pg: deadpool_postgres::Config,
9}
10
11#[derive(Debug, Deserialize)]
12#[serde(transparent)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected