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