You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
395 B
Rust
19 lines
395 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Serialize, Deserialize, Clone, Debug)]
|
|
pub struct MetadataSettings {
|
|
pub title: Option<String>,
|
|
pub author: Option<String>,
|
|
pub language: String,
|
|
}
|
|
|
|
impl Default for MetadataSettings {
|
|
fn default() -> Self {
|
|
Self {
|
|
title: None,
|
|
author: None,
|
|
language: "en".to_string(),
|
|
}
|
|
}
|
|
}
|