pub fn is_invalid_deployment_style_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreateDeploymentGroupErrorKind::InvalidDeploymentStyleException(_)
        )
    }
/// Returns `true` if the error kind is `CreateDeploymentGroupErrorKind::InvalidDeploymentStyleException`.
Returns `true` if the error kind is `CreateDeploymentGroupErrorKind::InvalidDeploymentStyleException`.
Returns ` true ` if the error kind is ` CreateDeploymentGroupErrorKind :: InvalidDeploymentStyleException ` .
pub fn is_invalid_deployment_style_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreateDeploymentGroupErrorKind::InvalidDeploymentStyleException(_)
        )
    }
pub fn is_invalid_deployment_style_exception ( & self ) -> bool { matches ! ( self kind CreateDeploymentGroupErrorKind InvalidDeploymentStyleException ( ) ) }
Returns `true` if the error kind is `CreateDeploymentGroupErrorKind::InvalidDeploymentStyleException`.
Returns ` true ` if the error kind is ` CreateDeploymentGroupErrorKind :: InvalidDeploymentStyleException ` .
&self
&self