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};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
/// General settings for hoard
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
pub struct HoardConfig {
|
pub struct HoardConfig {
|
||||||
// Top level data download directory
|
// Top level data download directory
|
||||||
pub data_dir: PathBuf,
|
pub data_dir: PathBuf,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Top level global config
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
pub struct GlobalConfig {
|
pub struct GlobalConfig {
|
||||||
// Hoard Configuration
|
// Hoard Configuration
|
||||||
|
|
|
@ -9,6 +9,7 @@ use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
use crate::{ensure_dir_exists, Module};
|
use crate::{ensure_dir_exists, Module};
|
||||||
|
|
||||||
|
/// Configuration for the YouTube Module
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
pub struct YouTubeConfig {
|
pub struct YouTubeConfig {
|
||||||
// Interval in minutes between checks
|
// Interval in minutes between checks
|
||||||
|
|
Loading…
Reference in a new issue