| 67 | }; |
| 68 | |
| 69 | struct StateTransactionRef { |
| 70 | constexpr static FileIdentifier file_identifier = 6150271; |
| 71 | StateTransactionRef() {} |
| 72 | StateTransactionRef(const bool committed, VectorRef<MutationRef> const& mutations) |
| 73 | : committed(committed), mutations(mutations) {} |
| 74 | StateTransactionRef(Arena& p, const StateTransactionRef& toCopy) |
| 75 | : committed(toCopy.committed), mutations(p, toCopy.mutations) {} |
| 76 | bool committed; |
| 77 | VectorRef<MutationRef> mutations; |
| 78 | size_t expectedSize() const { return mutations.expectedSize(); } |
| 79 | |
| 80 | template <class Archive> |
| 81 | void serialize(Archive& ar) { |
| 82 | serializer(ar, committed, mutations); |
| 83 | } |
| 84 | }; |
| 85 | |
| 86 | struct ResolveTransactionBatchReply { |
| 87 | constexpr static FileIdentifier file_identifier = 15472264; |