ensuring that slides can be created by different things

This commit is contained in:
Chris Cochrun 2024-10-08 06:18:26 -05:00
parent 887fc733e7
commit 8f065380aa
7 changed files with 270 additions and 50 deletions

View file

@ -7,11 +7,11 @@ use std::path::PathBuf;
#[derive(Clone, Debug, Default, PartialEq)]
pub struct Video {
title: String,
path: PathBuf,
start_time: f32,
end_time: f32,
looping: bool,
pub title: String,
pub path: PathBuf,
pub start_time: Option<f32>,
pub end_time: Option<f32>,
pub looping: bool,
}
impl Model<Video> {}
@ -24,7 +24,7 @@ impl Modeling for Model<Video> {
Ok(())
}
fn add_to_db(&mut self, item: Self::Item) -> Result<()> {
fn add_to_db(&mut self, _item: Self::Item) -> Result<()> {
todo!()
}