aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3_bucket.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/s3_bucket.rs')
-rw-r--r--src/api/s3_bucket.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/api/s3_bucket.rs b/src/api/s3_bucket.rs
index d1a4425a..e7d89698 100644
--- a/src/api/s3_bucket.rs
+++ b/src/api/s3_bucket.rs
@@ -34,7 +34,7 @@ struct DisplayName {
pub body: String,
}
#[derive(Debug, Serialize, PartialEq)]
-struct ID {
+struct Id {
#[serde(rename = "$value")]
pub body: String,
}
@@ -43,7 +43,7 @@ struct Owner {
#[serde(rename = "DisplayName")]
display_name: DisplayName,
#[serde(rename = "ID")]
- id: ID,
+ id: Id,
}
#[derive(Debug, Serialize, PartialEq)]
struct BucketList {
@@ -80,7 +80,7 @@ pub fn handle_list_buckets(api_key: &Key) -> Result<Response<Body>, Error> {
display_name: DisplayName {
body: api_key.name.get().to_string(),
},
- id: ID {
+ id: Id {
body: api_key.key_id.to_string(),
},
},