fleshing out the core a bit more
This commit is contained in:
parent
e05815e550
commit
c8bb484a53
13 changed files with 497 additions and 9 deletions
|
|
@ -1,14 +1,10 @@
|
|||
use std::{error::Error, fmt::Display};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum PresKind {
|
||||
Html,
|
||||
Pdf,
|
||||
Generic,
|
||||
}
|
||||
use crate::presentations::PresKind;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, Default, PartialEq, Eq)]
|
||||
pub enum ServiceItemKind {
|
||||
#[default]
|
||||
Song,
|
||||
Video,
|
||||
Image,
|
||||
|
|
@ -81,3 +77,11 @@ impl Display for ParseError {
|
|||
write!(f, "Error: {message}")
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
#[test]
|
||||
pub fn test_kinds() {
|
||||
assert_eq!(true, true)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue