Enum ayaka_bindings_types::Action
source · pub enum Action {
Empty,
Text(ActionText),
Switches(Vec<Switch>),
Custom(VarMap),
}Expand description
The full action information in one line of config.
It provides the full texts and other properties exacted from ayaka_primitive::Text.
Variants§
Empty
An empty action usually means an exec or custom action.
Text(ActionText)
A text action, display some texts.
Switches(Vec<Switch>)
A switch action, display switches and let player to choose.
Custom(VarMap)
A custom action.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more