From c433f973c935659b12dd495bbfe0a653715de819 Mon Sep 17 00:00:00 2001 From: congyi <15605187270@163.com> Date: Wed, 14 Feb 2024 17:33:01 +0800 Subject: [PATCH] minor --- core/src/services/azblob/core.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/core/src/services/azblob/core.rs b/core/src/services/azblob/core.rs index a62c12bc700c..69f43d93b183 100644 --- a/core/src/services/azblob/core.rs +++ b/core/src/services/azblob/core.rs @@ -28,7 +28,6 @@ use reqsign::AzureStorageCredential; use reqsign::AzureStorageLoader; use reqsign::AzureStorageSigner; use serde::Deserialize; -use serde::Serialize; use std::fmt; use std::fmt::Debug; use std::fmt::Formatter; @@ -646,22 +645,6 @@ pub struct Blobs { pub blob_prefix: Vec, } -#[derive(Clone, Default, Debug, Serialize)] -#[serde(default, rename_all = "PascalCase")] -pub struct CompleteMultipartUploadRequestPart { - #[serde(rename = "PartNumber")] - pub part_number: usize, - #[serde(rename = "ETag")] - pub etag: String, -} - -/// Request of CompleteMultipartUploadRequest -#[derive(Default, Debug, Serialize)] -#[serde(default, rename = "CompleteMultipartUpload", rename_all = "PascalCase")] -pub struct CompleteMultipartUploadRequest { - pub part: Vec, -} - #[derive(Default, Debug, Deserialize)] #[serde(default, rename_all = "PascalCase")] pub struct BlobPrefix {