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