File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
sdk/storage/src/blob/blob Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,26 @@ pub struct Blob {
104
104
pub is_current_version : Option < bool > ,
105
105
pub deleted : Option < bool > ,
106
106
pub properties : BlobProperties ,
107
+ pub tags : Option < Tags > ,
108
+ }
109
+
110
+ #[ derive( Debug , Clone , PartialEq , Deserialize ) ]
111
+ #[ serde( rename_all = "PascalCase" ) ]
112
+ pub struct Tags {
113
+ pub tag_set : Option < TagSet > ,
114
+ }
115
+
116
+ #[ derive( Debug , Clone , PartialEq , Deserialize ) ]
117
+ #[ serde( rename_all = "PascalCase" ) ]
118
+ pub struct TagSet {
119
+ pub tag : Vec < Tag > ,
120
+ }
121
+
122
+ #[ derive( Debug , Clone , PartialEq , Deserialize ) ]
123
+ #[ serde( rename_all = "PascalCase" ) ]
124
+ pub struct Tag {
125
+ pub key : String ,
126
+ pub value : String ,
107
127
}
108
128
109
129
#[ derive( Debug , Clone , PartialEq , Deserialize ) ]
@@ -369,6 +389,7 @@ impl Blob {
369
389
metadata,
370
390
extra : HashMap :: new ( ) ,
371
391
} ,
392
+ tags : None ,
372
393
} )
373
394
}
374
395
}
You can’t perform that action at this time.
0 commit comments