(
version: VersionNumber,
transaction_id: ExplicitTransactionID,
created_at: DateTime<Utc>,
records_upserted: u32,
records_deleted: u32,
total_operation
| 78 | } |
| 79 | |
| 80 | pub fn new_explicit( |
| 81 | version: VersionNumber, |
| 82 | transaction_id: ExplicitTransactionID, |
| 83 | created_at: DateTime<Utc>, |
| 84 | records_upserted: u32, |
| 85 | records_deleted: u32, |
| 86 | total_operations: u32, |
| 87 | ) -> Self { |
| 88 | Self { |
| 89 | version, |
| 90 | source: VersionSource::Explicit { transaction_id }, |
| 91 | created_at, |
| 92 | records_upserted, |
| 93 | records_deleted, |
| 94 | total_operations, |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | fn serialize(&self) -> Vec<u8> { |
| 99 | let mut result = Vec::with_capacity(29); |
nothing calls this directly
no outgoing calls
no test coverage detected