33
44use serde:: { Deserialize , Serialize } ;
55// This file is @generated by prost-build.
6- #[ derive( Deserialize , Serialize ) ]
7- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
6+ #[ derive( Deserialize , Serialize , Clone , PartialEq , :: prost:: Message ) ]
87pub struct File {
98 #[ prost( string, tag = "1" ) ]
109 pub path : :: prost:: alloc:: string:: String ,
1110 #[ prost( bytes = "vec" , tag = "2" ) ]
1211 #[ serde( with = "serde_bytes" ) ]
1312 pub raw : :: prost:: alloc:: vec:: Vec < u8 > ,
1413}
15- #[ derive( Deserialize , Serialize ) ]
16- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
14+ #[ derive( Deserialize , Serialize , Clone , PartialEq , :: prost:: Message ) ]
1715pub struct Client {
1816 #[ prost( message, optional, tag = "1" ) ]
1917 pub state : :: core:: option:: Option < ClientState > ,
@@ -35,8 +33,7 @@ pub struct Client {
3533 #[ prost( bytes = "vec" , tag = "11" ) ]
3634 pub capabilities : :: prost:: alloc:: vec:: Vec < u8 > ,
3735}
38- #[ derive( Deserialize , Serialize ) ]
39- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
36+ #[ derive( Deserialize , Serialize , Clone , PartialEq , :: prost:: Message ) ]
4037pub struct ClientTracer {
4138 #[ prost( string, tag = "1" ) ]
4239 pub runtime_id : :: prost:: alloc:: string:: String ,
@@ -55,8 +52,7 @@ pub struct ClientTracer {
5552 #[ prost( string, repeated, tag = "7" ) ]
5653 pub tags : :: prost:: alloc:: vec:: Vec < :: prost:: alloc:: string:: String > ,
5754}
58- #[ derive( Deserialize , Serialize ) ]
59- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
55+ #[ derive( Deserialize , Serialize , Clone , PartialEq , :: prost:: Message ) ]
6056pub struct ClientAgent {
6157 #[ prost( string, tag = "1" ) ]
6258 pub name : :: prost:: alloc:: string:: String ,
@@ -69,8 +65,7 @@ pub struct ClientAgent {
6965 #[ prost( string, repeated, tag = "5" ) ]
7066 pub cws_workloads : :: prost:: alloc:: vec:: Vec < :: prost:: alloc:: string:: String > ,
7167}
72- #[ derive( Deserialize , Serialize ) ]
73- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
68+ #[ derive( Deserialize , Serialize , Clone , PartialEq , :: prost:: Message ) ]
7469pub struct ConfigState {
7570 #[ prost( string, tag = "1" ) ]
7671 pub id : :: prost:: alloc:: string:: String ,
@@ -83,8 +78,7 @@ pub struct ConfigState {
8378 #[ prost( string, tag = "5" ) ]
8479 pub apply_error : :: prost:: alloc:: string:: String ,
8580}
86- #[ derive( Deserialize , Serialize ) ]
87- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
81+ #[ derive( Deserialize , Serialize , Clone , PartialEq , :: prost:: Message ) ]
8882pub struct ClientState {
8983 #[ prost( uint64, tag = "1" ) ]
9084 pub root_version : u64 ,
@@ -99,16 +93,14 @@ pub struct ClientState {
9993 #[ prost( bytes = "vec" , tag = "6" ) ]
10094 pub backend_client_state : :: prost:: alloc:: vec:: Vec < u8 > ,
10195}
102- #[ derive( Deserialize , Serialize ) ]
103- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
96+ #[ derive( Deserialize , Serialize , Clone , PartialEq , :: prost:: Message ) ]
10497pub struct TargetFileHash {
10598 #[ prost( string, tag = "1" ) ]
10699 pub algorithm : :: prost:: alloc:: string:: String ,
107100 #[ prost( string, tag = "3" ) ]
108101 pub hash : :: prost:: alloc:: string:: String ,
109102}
110- #[ derive( Deserialize , Serialize ) ]
111- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
103+ #[ derive( Deserialize , Serialize , Clone , PartialEq , :: prost:: Message ) ]
112104pub struct TargetFileMeta {
113105 #[ prost( string, tag = "1" ) ]
114106 pub path : :: prost:: alloc:: string:: String ,
@@ -117,16 +109,14 @@ pub struct TargetFileMeta {
117109 #[ prost( message, repeated, tag = "3" ) ]
118110 pub hashes : :: prost:: alloc:: vec:: Vec < TargetFileHash > ,
119111}
120- #[ derive( Deserialize , Serialize ) ]
121- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
112+ #[ derive( Deserialize , Serialize , Clone , PartialEq , :: prost:: Message ) ]
122113pub struct ClientGetConfigsRequest {
123114 #[ prost( message, optional, tag = "1" ) ]
124115 pub client : :: core:: option:: Option < Client > ,
125116 #[ prost( message, repeated, tag = "2" ) ]
126117 pub cached_target_files : :: prost:: alloc:: vec:: Vec < TargetFileMeta > ,
127118}
128- #[ derive( Deserialize , Serialize ) ]
129- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
119+ #[ derive( Deserialize , Serialize , Clone , PartialEq , :: prost:: Message ) ]
130120pub struct ClientGetConfigsResponse {
131121 #[ prost( bytes = "vec" , repeated, tag = "1" ) ]
132122 #[ serde( with = "crate::serde" ) ]
0 commit comments