use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum ShellCallOutcome {
#[serde(rename = "FunctionShellCallOutputTimeoutOutcome")]
FunctionShellCallOutputTimeoutOutcome(Box<models::FunctionShellCallOutputTimeoutOutcome>),
#[serde(rename = "FunctionShellCallOutputExitOutcome")]
FunctionShellCallOutputExitOutcome(Box<models::FunctionShellCallOutputExitOutcome>),
}
impl Default for ShellCallOutcome {
fn default() -> Self {
Self::FunctionShellCallOutputTimeoutOutcome(Default::default())
}
}