File: issue_3159.rs

package info (click to toggle)
rust-swc-core 22.2.1~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 62,436 kB
  • sloc: javascript: 853; xml: 538; sh: 307; makefile: 35; python: 5
file content (9 lines) | stat: -rw-r--r-- 146 bytes parent folder | download
1
2
3
4
5
6
7
8
9
use swc_common::ast_serde;

#[ast_serde]
pub enum Message {
    #[tag("Request")]
    Request(String),
    #[tag("Response")]
    Response(u8),
}