Skip to content

Commit 950b65c

Browse files
committed
Add operationStatus field to PutItemResponse, DeleteCacheResponse, GetItemResponse, and DeleteItemResponse structs
1 parent 54adf14 commit 950b65c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/cacheresponses.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ pub(crate) enum CreateCacheResult {
2525
pub(crate) struct PutItemResponse {
2626
pub(crate) cacheId: String,
2727
pub(crate) key: String,
28+
pub(crate) operationStatus: String,
2829
}
2930

3031
#[derive(serde::Deserialize, Debug)]
@@ -38,6 +39,7 @@ pub(crate) enum PutItemResult {
3839
#[derive(serde::Deserialize, Debug)]
3940
pub(crate) struct DeleteCacheResponse {
4041
pub(crate) cacheId: String,
42+
pub(crate) operationStatus: String,
4143
}
4244

4345
#[derive(serde::Deserialize, Debug)]
@@ -53,6 +55,7 @@ pub(crate) struct GetItemResponse {
5355
pub(crate) cacheId: String,
5456
pub(crate) key: String,
5557
pub(crate) value: String,
58+
pub(crate) operationStatus: String,
5659
}
5760

5861
#[derive(serde::Deserialize, Debug)]
@@ -67,6 +70,7 @@ pub(crate) enum GetItemResult {
6770
pub(crate) struct DeleteItemResponse {
6871
pub(crate) cacheId: String,
6972
pub(crate) key: String,
73+
pub(crate) operationStatus: String,
7074
}
7175

7276
#[derive(serde::Deserialize, Debug)]

0 commit comments

Comments
 (0)