ensuring that slides can be created by different things
This commit is contained in:
parent
887fc733e7
commit
8f065380aa
7 changed files with 270 additions and 50 deletions
|
@ -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!()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue