Add clone, default derives

This commit is contained in:
bitfl0wer 2023-05-29 18:50:19 +02:00
parent b9c3f02799
commit 84b3b72928
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ pub struct ChannelCreateSchema {
pub video_quality_mode: Option<i32>,
}
#[derive(Debug, Deserialize, Serialize)]
#[derive(Debug, Deserialize, Serialize, Clone, Default)]
#[serde(rename_all = "snake_case")]
pub struct ChannelModifySchema {
pub name: Option<String>,