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