mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +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),
|
||
|
}
|