line_bot_messaging_api/entity/action/
rich_menu_switch.rs

1use serde_derive::{Deserialize, Serialize};
2
3#[derive(Debug, Default, Deserialize, Serialize, Clone)]
4pub struct LineMessageActionRichMenuSwitch {
5    #[serde(rename = "type")]
6    message_type: String,
7    #[serde(rename = "label")]
8    label: Option<String>,
9    #[serde(rename = "richMenuAliasId")]
10    rich_menu_alias_id: String,
11    data: String,
12}