@@ -103,49 +103,14 @@ create_enum!(
103
103
104
104
create_enum ! ( PageWriteType , ( Update , "update" ) , ( Clear , "clear" ) ) ;
105
105
106
- #[ cfg( not( feature = "azurite_workaround" ) ) ]
107
106
#[ derive( Debug , Clone , PartialEq ) ]
108
107
pub struct Blob {
109
108
pub name : String ,
110
109
pub container_name : String ,
111
110
pub snapshot_time : Option < DateTime < Utc > > ,
111
+ #[ cfg( not( feature = "azurite_workaround" ) ) ]
112
112
pub creation_time : DateTime < Utc > ,
113
- pub last_modified : Option < DateTime < Utc > > , // optional because unavailable in uncommitted blobs
114
- pub etag : Option < String > , // optional because unavailable in uncommitted blobs
115
- pub content_length : u64 ,
116
- pub content_type : Option < String > ,
117
- pub content_encoding : Option < String > ,
118
- pub content_language : Option < String > ,
119
- pub content_md5 : Option < String > ,
120
- pub cache_control : Option < String > ,
121
- pub content_disposition : Option < String > ,
122
- pub x_ms_blob_sequence_number : Option < u64 > ,
123
- pub blob_type : BlobType ,
124
- pub access_tier : Option < String > ,
125
- pub lease_status : Option < LeaseStatus > ,
126
- pub lease_state : LeaseState ,
127
- pub lease_duration : Option < LeaseDuration > ,
128
- pub copy_id : Option < String > ,
129
- pub copy_status : Option < CopyStatus > ,
130
- pub copy_source : Option < String > ,
131
- pub copy_progress : Option < Range > ,
132
- pub copy_completion_time : Option < DateTime < Utc > > ,
133
- pub copy_status_description : Option < String > ,
134
- pub incremental_copy : Option < bool > ,
135
- pub server_encrypted : bool ,
136
- pub access_tier_inferred : Option < bool > ,
137
- pub access_tier_change_time : Option < DateTime < Utc > > ,
138
- pub deleted_time : Option < DateTime < Utc > > ,
139
- pub remaining_retention_days : Option < u64 > ,
140
- pub metadata : HashMap < String , String > ,
141
- }
142
-
143
- #[ cfg( feature = "azurite_workaround" ) ]
144
- #[ derive( Debug , Clone , PartialEq ) ]
145
- pub struct Blob {
146
- pub name : String ,
147
- pub container_name : String ,
148
- pub snapshot_time : Option < DateTime < Utc > > ,
113
+ #[ cfg( feature = "azurite_workaround" ) ]
149
114
pub creation_time : Option < DateTime < Utc > > ,
150
115
pub last_modified : Option < DateTime < Utc > > , // optional because unavailable in uncommitted blobs
151
116
pub etag : Option < String > , // optional because unavailable in uncommitted blobs
0 commit comments