This commit is contained in:
euzu
2025-07-05 19:55:43 +02:00
parent a9cecb056b
commit 2b9a51fa17
22 changed files with 197 additions and 26 deletions
-1
View File
@@ -147,7 +147,6 @@ impl ConfigInputAliasDto {
}
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, Default)]
#[serde(deny_unknown_fields)]
pub struct ConfigInputDto {
+5 -4
View File
@@ -1,3 +1,4 @@
use std::rc::Rc;
use crate::error::{TuliproxError, TuliproxErrorKind};
use crate::{create_tuliprox_error_result, handle_tuliprox_error_result_list, info_err};
use crate::foundation::filter::{get_filter, Filter};
@@ -86,10 +87,10 @@ pub struct HdHomeRunTargetOutputDto {
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, PartialEq)]
#[serde(deny_unknown_fields, tag = "type", rename_all = "lowercase")]
pub enum TargetOutputDto {
Xtream(XtreamTargetOutputDto),
M3u(M3uTargetOutputDto),
Strm(StrmTargetOutputDto),
HdHomeRun(HdHomeRunTargetOutputDto),
Xtream(Rc<XtreamTargetOutputDto>),
M3u(Rc<M3uTargetOutputDto>),
Strm(Rc<StrmTargetOutputDto>),
HdHomeRun(Rc<HdHomeRunTargetOutputDto>),
}
impl TargetOutputDto {