mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
17 lines
269 B
Rust
17 lines
269 B
Rust
#![allow(dead_code)]
|
|
|
|
use polkadot_overseer_all_subsystems_gen::AllSubsystemsGen;
|
|
#[derive(Clone, AllSubsystemsGen)]
|
|
struct AllSubsystems<X> {
|
|
a: X,
|
|
b: X,
|
|
}
|
|
|
|
fn main() {
|
|
let all = AllSubsystems::<u16> {
|
|
a: 0_u16,
|
|
b: 1_u16,
|
|
};
|
|
let _all = all.replace_a(77u8);
|
|
}
|