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