Listening to the shaggs!

This commit is contained in:
didier amyot committed 2023-02-24 08:52:50 -05:00
1 parent 238cd9f2da
commit 9f86d53d11
9 files changed
+69 -66

No files matched your search

+3 -3
View File
@@ -2,7 +2,7 @@ use serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct Bogus {
pub struct CreateNewSecurity {
pub name: String,
pub age: i64,
}
@@ -10,11 +10,11 @@ pub struct Bogus {
#[derive(Deserialize, Debug)]
pub struct CreateNewUser {
pub name: String,
pub score: i64,
pub public_key: String,
}
#[derive(Deserialize, Debug)]
pub enum Event {
Bogus(Bogus),
CreateNewSecurity(CreateNewSecurity),
CreateNewUser(CreateNewUser),
}