docs
This commit is contained in:
parent
bb8a125ff1
commit
34ebab3d63
2 changed files with 3 additions and 0 deletions
|
@ -2,12 +2,14 @@ use std::path::PathBuf;
|
|||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// General settings for hoard
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct HoardConfig {
|
||||
// Top level data download directory
|
||||
pub data_dir: PathBuf,
|
||||
}
|
||||
|
||||
/// Top level global config
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct GlobalConfig {
|
||||
// Hoard Configuration
|
||||
|
|
|
@ -9,6 +9,7 @@ use serde::{Deserialize, Serialize};
|
|||
|
||||
use crate::{ensure_dir_exists, Module};
|
||||
|
||||
/// Configuration for the YouTube Module
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct YouTubeConfig {
|
||||
// Interval in minutes between checks
|
||||
|
|
Loading…
Reference in a new issue