1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
extern crate serde;
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct AttachRequest {
pub arguments : AttachRequestArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
pub type AttachRequestArguments = serde_json::Value ; # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct AttachResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct Breakpoint {
pub column : Option<i64> ,
# [ serde ( rename = "endColumn" ) ] pub end_column : Option<i64> ,
# [ serde ( rename = "endLine" ) ] pub end_line : Option<i64> ,
pub id : Option<i64> ,
pub line : Option<i64> ,
pub message : Option<String> ,
pub source : Option<Source> ,
pub verified : bool } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct BreakpointEventBody {
pub breakpoint : Breakpoint ,
pub reason : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct BreakpointEvent {
pub body : BreakpointEventBody ,
pub event : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Default , Deserialize , Serialize ) ] pub struct Capabilities {
# [ serde ( rename = "additionalModuleColumns" ) ] pub additional_module_columns : Option<Vec<ColumnDescriptor>> ,
# [ serde ( rename = "exceptionBreakpointFilters" ) ] pub exception_breakpoint_filters : Option<Vec<ExceptionBreakpointsFilter>> ,
# [ serde ( rename = "supportedChecksumAlgorithms" ) ] pub supported_checksum_algorithms : Option<Vec<ChecksumAlgorithm>> ,
# [ serde ( rename = "supportsCompletionsRequest" ) ] pub supports_completions_request : Option<bool> ,
# [ serde ( rename = "supportsConditionalBreakpoints" ) ] pub supports_conditional_breakpoints : Option<bool> ,
# [ serde ( rename = "supportsConfigurationDoneRequest" ) ] pub supports_configuration_done_request : Option<bool> ,
# [ serde ( rename = "supportsEvaluateForHovers" ) ] pub supports_evaluate_for_hovers : Option<bool> ,
# [ serde ( rename = "supportsFunctionBreakpoints" ) ] pub supports_function_breakpoints : Option<bool> ,
# [ serde ( rename = "supportsGotoTargetsRequest" ) ] pub supports_goto_targets_request : Option<bool> ,
# [ serde ( rename = "supportsHitConditionalBreakpoints" ) ] pub supports_hit_conditional_breakpoints : Option<bool> ,
# [ serde ( rename = "supportsModulesRequest" ) ] pub supports_modules_request : Option<bool> ,
# [ serde ( rename = "supportsRestartFrame" ) ] pub supports_restart_frame : Option<bool> ,
# [ serde ( rename = "supportsSetVariable" ) ] pub supports_set_variable : Option<bool> ,
# [ serde ( rename = "supportsStepBack" ) ] pub supports_step_back : Option<bool> ,
# [ serde ( rename = "supportsStepInTargetsRequest" ) ] pub supports_step_in_targets_request : Option<bool> }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct Checksum {
pub algorithm : ChecksumAlgorithm ,
pub checksum : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub enum ChecksumAlgorithm { # [ serde ( rename = "MD5" ) ] Md5 , # [ serde ( rename = "SHA1" ) ] Sha1 , # [ serde ( rename = "SHA256" ) ] Sha256 , # [ serde ( rename = "SHA1Normalized" ) ] Sha1Normalized , # [ serde ( rename = "SHA256Normalized" ) ] Sha256Normalized , # [ serde ( rename = "timestamp" ) ] Timestamp }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ColumnDescriptor {
# [ serde ( rename = "attributeName" ) ] pub attribute_name : String ,
pub format : Option<String> ,
pub label : String ,
# [ serde ( rename = "type" ) ] pub type_ : Option<String> ,
pub width : Option<i64> }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct CompletionItem {
pub label : String , pub length : Option<i64> ,
pub start : Option<i64> ,
pub text : Option<String> ,
# [ serde ( rename = "type" ) ] pub type_ : Option<CompletionItemType> }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub enum CompletionItemType { # [ serde ( rename = "method" ) ] Method , # [ serde ( rename = "function" ) ] Function , # [ serde ( rename = "constructor" ) ] Constructor , # [ serde ( rename = "field" ) ] Field , # [ serde ( rename = "variable" ) ] Variable , # [ serde ( rename = "class" ) ] Class , # [ serde ( rename = "interface" ) ] Interface , # [ serde ( rename = "module" ) ] Module , # [ serde ( rename = "property" ) ] Property , # [ serde ( rename = "unit" ) ] Unit , # [ serde ( rename = "value" ) ] Value , # [ serde ( rename = "enum" ) ] Enum , # [ serde ( rename = "keyword" ) ] Keyword , # [ serde ( rename = "snippet" ) ] Snippet , # [ serde ( rename = "text" ) ] Text , # [ serde ( rename = "color" ) ] Color , # [ serde ( rename = "file" ) ] File , # [ serde ( rename = "reference" ) ] Reference , # [ serde ( rename = "customcolor" ) ] Customcolor }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct CompletionsArguments {
pub column : i64 ,
# [ serde ( rename = "frameId" ) ] pub frame_id : Option<i64> ,
pub line : Option<i64> ,
pub text : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct CompletionsRequest {
pub arguments : CompletionsArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct CompletionsResponseBody {
pub targets : Vec<CompletionItem> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct CompletionsResponse {
pub body : CompletionsResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
pub type ConfigurationDoneArguments = serde_json::Value ; # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ConfigurationDoneRequest {
pub arguments : Option<ConfigurationDoneArguments> ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ConfigurationDoneResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ContinueArguments {
# [ serde ( rename = "threadId" ) ] pub thread_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ContinueRequest {
pub arguments : ContinueArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Default , Deserialize , Serialize ) ] pub struct ContinueResponseBody {
# [ serde ( rename = "allThreadsContinued" ) ] pub all_threads_continued : Option<bool> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ContinueResponse {
pub body : ContinueResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ContinuedEventBody {
# [ serde ( rename = "allThreadsContinued" ) ] pub all_threads_continued : Option<bool> ,
# [ serde ( rename = "threadId" ) ] pub thread_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ContinuedEvent {
pub body : ContinuedEventBody ,
pub event : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
pub type DisconnectArguments = serde_json::Value ; # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct DisconnectRequest {
pub arguments : Option<DisconnectArguments> ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct DisconnectResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Default , Deserialize , Serialize ) ] pub struct ErrorResponseBody {
pub error : Option<Message> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ErrorResponse {
pub body : ErrorResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct EvaluateArguments {
pub context : Option<String> ,
pub expression : String ,
# [ serde ( rename = "frameId" ) ] pub frame_id : Option<i64> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct EvaluateRequest {
pub arguments : EvaluateArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct EvaluateResponseBody {
# [ serde ( rename = "indexedVariables" ) ] pub indexed_variables : Option<f64> ,
# [ serde ( rename = "namedVariables" ) ] pub named_variables : Option<f64> ,
pub result : String ,
# [ serde ( rename = "type" ) ] pub type_ : Option<String> ,
# [ serde ( rename = "variablesReference" ) ] pub variables_reference : f64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct EvaluateResponse {
pub body : EvaluateResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct Event {
pub body : Option<serde_json::Value> ,
pub event : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ExceptionBreakpointsFilter {
pub default : Option<bool> ,
pub filter : String ,
pub label : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ExitedEventBody {
# [ serde ( rename = "exitCode" ) ] pub exit_code : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ExitedEvent {
pub body : ExitedEventBody ,
pub event : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct FunctionBreakpoint {
pub condition : Option<String> ,
# [ serde ( rename = "hitCondition" ) ] pub hit_condition : Option<String> ,
pub name : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct GotoArguments {
# [ serde ( rename = "targetId" ) ] pub target_id : i64 ,
# [ serde ( rename = "threadId" ) ] pub thread_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct GotoRequest {
pub arguments : GotoArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct GotoResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct GotoTarget {
pub column : Option<i64> ,
# [ serde ( rename = "endColumn" ) ] pub end_column : Option<i64> ,
# [ serde ( rename = "endLine" ) ] pub end_line : Option<i64> ,
pub id : i64 ,
pub label : String ,
pub line : i64 }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct GotoTargetsArguments {
pub column : Option<i64> ,
pub line : i64 ,
pub source : Source } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct GotoTargetsRequest {
pub arguments : GotoTargetsArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct GotoTargetsResponseBody {
pub targets : Vec<GotoTarget> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct GotoTargetsResponse {
pub body : GotoTargetsResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct InitializeRequest {
pub arguments : InitializeRequestArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct InitializeRequestArguments {
# [ serde ( rename = "adapterID" ) ] pub adapter_id : String ,
# [ serde ( rename = "columnsStartAt1" ) ] pub columns_start_at_1 : Option<bool> ,
# [ serde ( rename = "linesStartAt1" ) ] pub lines_start_at_1 : Option<bool> ,
# [ serde ( rename = "pathFormat" ) ] pub path_format : Option<String> ,
# [ serde ( rename = "supportsRunInTerminalRequest" ) ] pub supports_run_in_terminal_request : Option<bool> ,
# [ serde ( rename = "supportsVariablePaging" ) ] pub supports_variable_paging : Option<bool> ,
# [ serde ( rename = "supportsVariableType" ) ] pub supports_variable_type : Option<bool> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct InitializeResponse {
pub body : Option<Capabilities> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct InitializedEvent {
pub body : Option<serde_json::Value> ,
pub event : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct LaunchRequest {
pub arguments : LaunchRequestArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Default , Deserialize , Serialize ) ] pub struct LaunchRequestArguments {
# [ serde ( rename = "noDebug" ) ] pub no_debug : Option<bool> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct LaunchResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct Message {
pub format : String ,
pub id : i64 ,
# [ serde ( rename = "sendTelemetry" ) ] pub send_telemetry : Option<bool> ,
# [ serde ( rename = "showUser" ) ] pub show_user : Option<bool> ,
pub url : Option<String> ,
# [ serde ( rename = "urlLabel" ) ] pub url_label : Option<String> ,
pub variables : Option<::std::collections::BTreeMap<String, String>> }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct Module {
# [ serde ( rename = "addressRange" ) ] pub address_range : Option<String> ,
# [ serde ( rename = "dateTimeStamp" ) ] pub date_time_stamp : Option<String> ,
pub id : serde_json::Value ,
# [ serde ( rename = "isOptimized" ) ] pub is_optimized : Option<bool> ,
# [ serde ( rename = "isUserCode" ) ] pub is_user_code : Option<bool> ,
pub name : String ,
pub path : Option<String> ,
# [ serde ( rename = "symbolFilePath" ) ] pub symbol_file_path : Option<String> ,
# [ serde ( rename = "symbolStatus" ) ] pub symbol_status : Option<String> ,
pub version : Option<String> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ModuleEventBody {
pub module : Module ,
pub reason : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ModuleEvent {
pub body : ModuleEventBody ,
pub event : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Default , Deserialize , Serialize ) ] pub struct ModulesArguments {
# [ serde ( rename = "moduleCount" ) ] pub module_count : Option<i64> ,
# [ serde ( rename = "startModule" ) ] pub start_module : Option<i64> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ModulesRequest {
pub arguments : ModulesArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ModulesResponseBody {
pub modules : Vec<Module> ,
# [ serde ( rename = "totalModules" ) ] pub total_modules : Option<i64> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ModulesResponse {
pub body : ModulesResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ModulesViewDescriptor { pub columns : Vec<ColumnDescriptor> }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct NextArguments {
# [ serde ( rename = "threadId" ) ] pub thread_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct NextRequest {
pub arguments : NextArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct NextResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct OutputEventBody {
pub category : Option<String> ,
pub data : Option<serde_json::Value> ,
pub output : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct OutputEvent {
pub body : OutputEventBody ,
pub event : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct PauseArguments {
# [ serde ( rename = "threadId" ) ] pub thread_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct PauseRequest {
pub arguments : PauseArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct PauseResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ProtocolMessage {
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct Request {
pub arguments : Option<serde_json::Value> ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct Response {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct RestartFrameArguments {
# [ serde ( rename = "frameId" ) ] pub frame_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct RestartFrameRequest {
pub arguments : RestartFrameArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct RestartFrameResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct RunInTerminalRequest {
pub arguments : RunInTerminalRequestArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct RunInTerminalRequestArguments {
pub args : Vec<String> ,
pub cwd : String ,
pub env : Option<::std::collections::BTreeMap<String, String>> ,
pub kind : Option<String> ,
pub title : Option<String> } # [ derive ( Clone , PartialEq , Debug , Default , Deserialize , Serialize ) ] pub struct RunInTerminalResponseBody {
# [ serde ( rename = "processId" ) ] pub process_id : Option<f64> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct RunInTerminalResponse {
pub body : RunInTerminalResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct Scope {
pub column : Option<i64> ,
# [ serde ( rename = "endColumn" ) ] pub end_column : Option<i64> ,
# [ serde ( rename = "endLine" ) ] pub end_line : Option<i64> ,
pub expensive : bool ,
# [ serde ( rename = "indexedVariables" ) ] pub indexed_variables : Option<i64> ,
pub line : Option<i64> ,
pub name : String ,
# [ serde ( rename = "namedVariables" ) ] pub named_variables : Option<i64> ,
pub source : Option<Source> ,
# [ serde ( rename = "variablesReference" ) ] pub variables_reference : i64 }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ScopesArguments {
# [ serde ( rename = "frameId" ) ] pub frame_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ScopesRequest {
pub arguments : ScopesArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ScopesResponseBody {
pub scopes : Vec<Scope> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ScopesResponse {
pub body : ScopesResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetBreakpointsArguments {
pub breakpoints : Option<Vec<SourceBreakpoint>> ,
pub lines : Option<Vec<i64>> ,
pub source : Source ,
# [ serde ( rename = "sourceModified" ) ] pub source_modified : Option<bool> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetBreakpointsRequest {
pub arguments : SetBreakpointsArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetBreakpointsResponseBody {
pub breakpoints : Vec<Breakpoint> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetBreakpointsResponse {
pub body : SetBreakpointsResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetExceptionBreakpointsArguments {
pub filters : Vec<String> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetExceptionBreakpointsRequest {
pub arguments : SetExceptionBreakpointsArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetExceptionBreakpointsResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetFunctionBreakpointsArguments {
pub breakpoints : Vec<FunctionBreakpoint> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetFunctionBreakpointsRequest {
pub arguments : SetFunctionBreakpointsArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetFunctionBreakpointsResponseBody {
pub breakpoints : Vec<Breakpoint> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetFunctionBreakpointsResponse {
pub body : SetFunctionBreakpointsResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetVariableArguments {
pub name : String ,
pub value : String ,
# [ serde ( rename = "variablesReference" ) ] pub variables_reference : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetVariableRequest {
pub arguments : SetVariableArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetVariableResponseBody {
# [ serde ( rename = "indexedVariables" ) ] pub indexed_variables : Option<f64> ,
# [ serde ( rename = "namedVariables" ) ] pub named_variables : Option<f64> ,
# [ serde ( rename = "type" ) ] pub type_ : Option<String> ,
pub value : String ,
# [ serde ( rename = "variablesReference" ) ] pub variables_reference : Option<f64> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SetVariableResponse {
pub body : SetVariableResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Default , Deserialize , Serialize ) ] pub struct Source {
# [ serde ( rename = "adapterData" ) ] pub adapter_data : Option<serde_json::Value> ,
pub checksums : Option<Vec<Checksum>> ,
pub name : Option<String> ,
pub origin : Option<String> ,
pub path : Option<String> ,
# [ serde ( rename = "sourceReference" ) ] pub source_reference : Option<f64> }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SourceArguments {
# [ serde ( rename = "sourceReference" ) ] pub source_reference : i64 }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SourceBreakpoint {
pub column : Option<i64> ,
pub condition : Option<String> ,
# [ serde ( rename = "hitCondition" ) ] pub hit_condition : Option<String> ,
pub line : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SourceRequest {
pub arguments : SourceArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SourceResponseBody {
pub content : String ,
# [ serde ( rename = "mimeType" ) ] pub mime_type : Option<String> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct SourceResponse {
pub body : SourceResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StackFrame {
pub column : i64 ,
# [ serde ( rename = "endColumn" ) ] pub end_column : Option<i64> ,
# [ serde ( rename = "endLine" ) ] pub end_line : Option<i64> ,
pub id : i64 ,
pub line : i64 ,
# [ serde ( rename = "moduleId" ) ] pub module_id : Option<serde_json::Value> ,
pub name : String ,
pub source : Option<Source> }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StackTraceArguments {
pub levels : Option<i64> ,
# [ serde ( rename = "startFrame" ) ] pub start_frame : Option<i64> ,
# [ serde ( rename = "threadId" ) ] pub thread_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StackTraceRequest {
pub arguments : StackTraceArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StackTraceResponseBody {
# [ serde ( rename = "stackFrames" ) ] pub stack_frames : Vec<StackFrame> ,
# [ serde ( rename = "totalFrames" ) ] pub total_frames : Option<i64> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StackTraceResponse {
pub body : StackTraceResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepBackArguments {
# [ serde ( rename = "threadId" ) ] pub thread_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepBackRequest {
pub arguments : StepBackArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepBackResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepInArguments {
# [ serde ( rename = "targetId" ) ] pub target_id : Option<i64> ,
# [ serde ( rename = "threadId" ) ] pub thread_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepInRequest {
pub arguments : StepInArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepInResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepInTarget {
pub id : i64 ,
pub label : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepInTargetsArguments {
# [ serde ( rename = "frameId" ) ] pub frame_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepInTargetsRequest {
pub arguments : StepInTargetsArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepInTargetsResponseBody {
pub targets : Vec<StepInTarget> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepInTargetsResponse {
pub body : StepInTargetsResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepOutArguments {
# [ serde ( rename = "threadId" ) ] pub thread_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepOutRequest {
pub arguments : StepOutArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StepOutResponse {
pub body : Option<serde_json::Value> ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StoppedEventBody {
# [ serde ( rename = "allThreadsStopped" ) ] pub all_threads_stopped : Option<bool> ,
pub reason : String ,
pub text : Option<String> ,
# [ serde ( rename = "threadId" ) ] pub thread_id : Option<i64> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct StoppedEvent {
pub body : StoppedEventBody ,
pub event : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Default , Deserialize , Serialize ) ] pub struct TerminatedEventBody {
pub restart : Option<bool> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct TerminatedEvent {
pub body : Option<TerminatedEventBody> ,
pub event : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct Thread {
pub id : i64 ,
pub name : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ThreadEventBody {
pub reason : String ,
# [ serde ( rename = "threadId" ) ] pub thread_id : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ThreadEvent {
pub body : ThreadEventBody ,
pub event : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ThreadsRequest {
pub arguments : Option<serde_json::Value> ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ThreadsResponseBody {
pub threads : Vec<Thread> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct ThreadsResponse {
pub body : ThreadsResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct Variable {
# [ serde ( rename = "evaluateName" ) ] pub evaluate_name : Option<String> ,
# [ serde ( rename = "indexedVariables" ) ] pub indexed_variables : Option<i64> ,
pub kind : Option<String> ,
pub name : String ,
# [ serde ( rename = "namedVariables" ) ] pub named_variables : Option<i64> ,
# [ serde ( rename = "type" ) ] pub type_ : Option<String> ,
pub value : String ,
# [ serde ( rename = "variablesReference" ) ] pub variables_reference : i64 }
# [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct VariablesArguments {
pub count : Option<i64> ,
pub filter : Option<String> ,
pub start : Option<i64> ,
# [ serde ( rename = "variablesReference" ) ] pub variables_reference : i64 } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct VariablesRequest {
pub arguments : VariablesArguments ,
pub command : String ,
pub seq : i64 ,
# [ serde ( rename = "type" ) ] pub type_ : String } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct VariablesResponseBody {
pub variables : Vec<Variable> } # [ derive ( Clone , PartialEq , Debug , Deserialize , Serialize ) ] pub struct VariablesResponse {
pub body : VariablesResponseBody ,
pub command : String ,
pub message : Option<String> ,
pub request_seq : i64 ,
pub seq : i64 ,
pub success : bool ,
# [ serde ( rename = "type" ) ] pub type_ : String }