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