#[derive(
    Clone,
    Default,
    PartialEq,
    serde::Deserialize,
    serde::Serialize,
    std::fmt::Debug
)]
#[serde(rename_all = "camelCase", deny_unknown_fields)]
pub struct ExecActionAc {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub command: <Option<
        std::vec::Vec<std::string::String>,
    > as crate::Optionable>::Optioned,
}
#[automatically_derived]
impl crate::Optionable for ::k8s_openapi::api::core::v1::ExecAction {
    type Optioned = ExecActionAc;
}
#[automatically_derived]
impl crate::Optionable for ExecActionAc {
    type Optioned = ExecActionAc;
}
#[automatically_derived]
#[cfg(feature = "k8s_openapi_convert")]
impl crate::OptionableConvert for ::k8s_openapi::api::core::v1::ExecAction {
    fn into_optioned(self) -> ExecActionAc {
        ExecActionAc {
            command: crate::OptionableConvert::into_optioned(self.command),
        }
    }
    fn try_from_optioned(value: ExecActionAc) -> Result<Self, crate::Error> {
        Ok(Self {
            command: crate::OptionableConvert::try_from_optioned(value.command)?,
        })
    }
    fn merge(&mut self, other: ExecActionAc) -> Result<(), crate::Error> {
        crate::OptionableConvert::merge(&mut self.command, other.command)?;
        Ok(())
    }
}
#[automatically_derived]
#[cfg(feature = "k8s_openapi_convert")]
impl crate::OptionedConvert<::k8s_openapi::api::core::v1::ExecAction> for ExecActionAc {
    fn from_optionable(value: ::k8s_openapi::api::core::v1::ExecAction) -> Self {
        crate::OptionableConvert::into_optioned(value)
    }
    fn try_into_optionable(
        self,
    ) -> Result<::k8s_openapi::api::core::v1::ExecAction, crate::Error> {
        crate::OptionableConvert::try_from_optioned(self)
    }
    fn merge_into(
        self,
        other: &mut ::k8s_openapi::api::core::v1::ExecAction,
    ) -> Result<(), crate::Error> {
        crate::OptionableConvert::merge(other, self)
    }
}
