File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ pub enum TaskType {
1515 DocumentPartial { details : Option < DocumentAddition > } ,
1616 DocumentDeletion { details : Option < DocumentDeletion > } ,
1717 IndexCreation { details : Option < IndexCreation > } ,
18+ IndexUpdate { details : Option < IndexUpdate > } ,
1819 IndexDeletion { details : Option < IndexDeletion > } ,
1920 SettingsUpdate { details : Option < Settings > } ,
2021}
@@ -38,6 +39,12 @@ pub struct IndexCreation {
3839 pub primary_key : Option < String > ,
3940}
4041
42+ #[ derive( Debug , Clone , Deserialize ) ]
43+ #[ serde( rename_all = "camelCase" ) ]
44+ pub struct IndexUpdate {
45+ pub primary_key : Option < String > ,
46+ }
47+
4148#[ derive( Debug , Clone , Deserialize ) ]
4249#[ serde( rename_all = "camelCase" ) ]
4350pub struct IndexDeletion {
You can’t perform that action at this time.
0 commit comments