mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
10 lines
142 B
Rust
10 lines
142 B
Rust
|
use swc_common::ast_serde;
|
||
|
|
||
|
#[ast_serde]
|
||
|
enum Message {
|
||
|
#[tag("Request")]
|
||
|
Request(String),
|
||
|
#[tag("Response")]
|
||
|
Response(u8),
|
||
|
}
|