vapi_client/models/
callback_step_mutations_inner.rs

1/*
2 * Vapi API
3 *
4 * API for building voice assistants
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
16#[serde(untagged)]
17pub enum CallbackStepMutationsInner {
18    AssignmentMutation(models::AssignmentMutation),
19}
20
21impl Default for CallbackStepMutationsInner {
22    fn default() -> Self {
23        Self::AssignmentMutation(Default::default())
24    }
25}
26/// This mutation assigns a new value to an existing or new variable.
27#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
28pub enum Type {
29    #[serde(rename = "assignment")]
30    Assignment,
31}
32
33impl Default for Type {
34    fn default() -> Type {
35        Self::Assignment
36    }
37}