(
&self,
id: &str,
status: &str,
decided_at_ms: Option<i64>,
rejection_reason: Option<&str>,
)
| 239 | } |
| 240 | |
| 241 | async fn update_draft_chunk_status( |
| 242 | &self, |
| 243 | id: &str, |
| 244 | status: &str, |
| 245 | decided_at_ms: Option<i64>, |
| 246 | rejection_reason: Option<&str>, |
| 247 | ) -> PersistenceResult<bool> { |
| 248 | match self { |
| 249 | Self::Postgres(store) => { |
| 250 | store |
| 251 | .update_draft_chunk_status(id, status, decided_at_ms, rejection_reason) |
| 252 | .await |
| 253 | } |
| 254 | Self::Sqlite(store) => { |
| 255 | store |
| 256 | .update_draft_chunk_status(id, status, decided_at_ms, rejection_reason) |
| 257 | .await |
| 258 | } |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | async fn update_draft_chunk_rule( |
| 263 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected