feat: improve ImportBucketMetadata handle (#26)

* feat: improve ImportBucketMetadata handle
This commit is contained in:
weisd
2025-07-02 16:31:16 +08:00
committed by GitHub
parent 2e14b32ccd
commit bf690ad353
3 changed files with 119 additions and 19 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ pub const BUCKET_VERSIONING_CONFIG: &str = "versioning.xml";
pub const BUCKET_REPLICATION_CONFIG: &str = "replication.xml";
pub const BUCKET_TARGETS_FILE: &str = "bucket-targets.json";
#[derive(Debug, Deserialize, Serialize)]
#[derive(Debug, Deserialize, Serialize, Clone)]
#[serde(rename_all = "PascalCase", default)]
pub struct BucketMetadata {
pub name: String,
+1 -1
View File
@@ -18,7 +18,7 @@ pub mod metadata;
pub mod metadata_sys;
pub mod object_lock;
pub mod policy_sys;
mod quota;
pub mod quota;
pub mod replication;
pub mod tagging;
pub mod target;