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