mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 07:02:28 +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),
|
||
|
}
|