12 lines
201 B
Rust
12 lines
201 B
Rust
use kaptan_config_derive::ConfigValidate;
|
|
|
|
#[derive(ConfigValidate)]
|
|
struct DuplicateId {
|
|
#[config(id = 7, nonzero)]
|
|
first: u32,
|
|
#[config(id = 7, nonzero)]
|
|
second: u32,
|
|
}
|
|
|
|
fn main() {}
|