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