maybe make imports better fuck idunno
This commit is contained in:
19
secert-hitler/src/model/state/event.rs
Normal file
19
secert-hitler/src/model/state/event.rs
Normal file
@@ -0,0 +1,19 @@
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Event {
|
||||
pub sender: String,
|
||||
pub body: String,
|
||||
pub next: String,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn event() {
|
||||
let e = super::Event{
|
||||
sender: "sender".to_string(),
|
||||
body: "body".to_string(),
|
||||
next: "next".to_string(),
|
||||
};
|
||||
println!("{:?}", e);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user