1 #pragma once
2 #include "simdjson.h"
3 
4 namespace partial_tweets {
5 
6 template<typename StringType=std::string_view>
7 struct twitter_user {
8   uint64_t id{};
9   StringType screen_name{};
10 
11   template<typename OtherStringType>
12   bool operator==(const twitter_user<OtherStringType> &other) const {
13     return id == other.id &&
14            screen_name == other.screen_name;
15   }
16 };
17 
18 } // namespace partial_tweets
19