diff options
Diffstat (limited to 'src/model/card.rs')
-rw-r--r-- | src/model/card.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/model/card.rs b/src/model/card.rs new file mode 100644 index 0000000..3ac395e --- /dev/null +++ b/src/model/card.rs @@ -0,0 +1,8 @@ +use crate::space_repetition; + +#[derive(Debug)] +pub struct Card { + pub question: String, + pub responses: Vec<String>, + pub state: space_repetition::State, +} |