1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-08-01 17:38:36 +00:00

refactor: group S3 config fields together

This commit is contained in:
AndSDev 2025-06-10 06:56:06 +00:00
parent 263b424de3
commit a30e0537e4
2 changed files with 5 additions and 3 deletions

View file

@ -515,13 +515,15 @@ pub enum IncompleteMediaBackendConfig {
endpoint: Url,
bucket: String,
region: String,
path: Option<String>,
key: String,
secret: String,
#[serde(default = "default_s3_duration")]
duration: u64,
#[serde(default = "false_fn")]
bucket_use_path: bool,
path: Option<String>,
#[serde(default)]
directory_structure: DirectoryStructure,
},