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};
12use utoipa::OpenApi;
13
14
15use crate::models;
16
17#[derive(Clone, Debug, PartialEq, Serialize, Deserialize, OpenApi)]
18#[serde(untagged)]
19pub enum CallbackStepMutationsInner {
20    AssignmentMutation(models::AssignmentMutation),
21}
22
23impl Default for CallbackStepMutationsInner {
24    fn default() -> Self {
25        Self::AssignmentMutation(Default::default())
26    }
27}
28/// This mutation assigns a new value to an existing or new variable.
29#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize, OpenApi)]
30pub enum Type {
31    #[serde(rename = "assignment")]
32    Assignment,
33}
34
35impl Default for Type {
36    fn default() -> Type {
37        Self::Assignment
38    }
39}