Dump roc checkmate

This commit is contained in:
Ayaz Hafiz 2023-07-16 15:01:00 -05:00
parent 1282110ef5
commit fcd733e1df
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
8 changed files with 119 additions and 10 deletions

View file

@ -229,4 +229,8 @@ impl AllEvents {
pub fn schema() -> RootSchema {
schema_for!(AllEvents)
}
pub fn write(&self, writer: impl std::io::Write) -> Result<(), serde_json::Error> {
serde_json::to_writer(writer, self)
}
}