shex_ast/ast/
start_action.rs

1
2
3
4
5
6
7
8
9
10
11
use serde_derive::{Deserialize, Serialize};

use prefixmap::IriRef;

#[derive(Deserialize, Serialize, Debug, PartialEq)]
pub struct StartAction {
    #[serde(rename = "type")]
    type_: String,
    name: IriRef,
    code: String,
}