forked from diesel-rs/diesel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenum.Value.html
More file actions
825 lines (719 loc) · 387 KB
/
Copy pathenum.Value.html
File metadata and controls
825 lines (719 loc) · 387 KB
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
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Represents any valid JSON value."><meta name="keywords" content="rust, rustlang, rust-lang, Value"><title>Value in serde_json::value - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script src="../../crates.js"></script><script defer src="../../main.js"></script>
<noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc enum"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="sidebar-logo" href="../../serde_json/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"></h2>
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../serde_json/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Value</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#variants">Variants</a></h3><ul><li><a href="#variant.Array">Array</a></li><li><a href="#variant.Bool">Bool</a></li><li><a href="#variant.Null">Null</a></li><li><a href="#variant.Number">Number</a></li><li><a href="#variant.Object">Object</a></li><li><a href="#variant.String">String</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.as_array">as_array</a></li><li><a href="#method.as_array_mut">as_array_mut</a></li><li><a href="#method.as_bool">as_bool</a></li><li><a href="#method.as_f64">as_f64</a></li><li><a href="#method.as_i64">as_i64</a></li><li><a href="#method.as_null">as_null</a></li><li><a href="#method.as_object">as_object</a></li><li><a href="#method.as_object_mut">as_object_mut</a></li><li><a href="#method.as_str">as_str</a></li><li><a href="#method.as_u64">as_u64</a></li><li><a href="#method.get">get</a></li><li><a href="#method.get_mut">get_mut</a></li><li><a href="#method.is_array">is_array</a></li><li><a href="#method.is_boolean">is_boolean</a></li><li><a href="#method.is_f64">is_f64</a></li><li><a href="#method.is_i64">is_i64</a></li><li><a href="#method.is_null">is_null</a></li><li><a href="#method.is_number">is_number</a></li><li><a href="#method.is_object">is_object</a></li><li><a href="#method.is_string">is_string</a></li><li><a href="#method.is_u64">is_u64</a></li><li><a href="#method.pointer">pointer</a></li><li><a href="#method.pointer_mut">pointer_mut</a></li><li><a href="#method.take">take</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Clone">Clone</a></li><li><a href="#impl-Debug">Debug</a></li><li><a href="#impl-Default">Default</a></li><li><a href="#impl-Deserialize%3C%27de%3E">Deserialize<'de></a></li><li><a href="#impl-Deserializer%3C%27de%3E">Deserializer<'de></a></li><li><a href="#impl-Deserializer%3C%27de%3E-1">Deserializer<'de></a></li><li><a href="#impl-Display">Display</a></li><li><a href="#impl-Eq">Eq</a></li><li><a href="#impl-From%3C%26%27a%20%5BT%5D%3E">From<&'a [T]></a></li><li><a href="#impl-From%3C%26%27a%20str%3E">From<&'a str></a></li><li><a href="#impl-From%3C()%3E">From<()></a></li><li><a href="#impl-From%3CCow%3C%27a%2C%20str%3E%3E">From<Cow<'a, str>></a></li><li><a href="#impl-From%3CMap%3CString%2C%20Value%3E%3E">From<Map<String, Value>></a></li><li><a href="#impl-From%3CNumber%3E">From<Number></a></li><li><a href="#impl-From%3CString%3E">From<String></a></li><li><a href="#impl-From%3CVec%3CT%2C%20Global%3E%3E">From<Vec<T, Global>></a></li><li><a href="#impl-From%3Cbool%3E">From<bool></a></li><li><a href="#impl-From%3Cf32%3E">From<f32></a></li><li><a href="#impl-From%3Cf64%3E">From<f64></a></li><li><a href="#impl-From%3Ci16%3E">From<i16></a></li><li><a href="#impl-From%3Ci32%3E">From<i32></a></li><li><a href="#impl-From%3Ci64%3E">From<i64></a></li><li><a href="#impl-From%3Ci8%3E">From<i8></a></li><li><a href="#impl-From%3Cisize%3E">From<isize></a></li><li><a href="#impl-From%3Cu16%3E">From<u16></a></li><li><a href="#impl-From%3Cu32%3E">From<u32></a></li><li><a href="#impl-From%3Cu64%3E">From<u64></a></li><li><a href="#impl-From%3Cu8%3E">From<u8></a></li><li><a href="#impl-From%3Cusize%3E">From<usize></a></li><li><a href="#impl-FromIterator%3C(K%2C%20V)%3E">FromIterator<(K, V)></a></li><li><a href="#impl-FromIterator%3CT%3E">FromIterator<T></a></li><li><a href="#impl-FromStr">FromStr</a></li><li><a href="#impl-Index%3CI%3E">Index<I></a></li><li><a href="#impl-IndexMut%3CI%3E">IndexMut<I></a></li><li><a href="#impl-IntoDeserializer%3C%27de%2C%20Error%3E">IntoDeserializer<'de, Error></a></li><li><a href="#impl-PartialEq%3C%26%27a%20str%3E">PartialEq<&'a str></a></li><li><a href="#impl-PartialEq%3CString%3E">PartialEq<String></a></li><li><a href="#impl-PartialEq%3CValue%3E">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-1">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-10">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-11">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-12">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-13">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-14">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-15">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-16">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-2">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-3">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-4">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-5">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-6">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-7">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-8">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3CValue%3E-9">PartialEq<Value></a></li><li><a href="#impl-PartialEq%3Cbool%3E">PartialEq<bool></a></li><li><a href="#impl-PartialEq%3Cbool%3E-1">PartialEq<bool></a></li><li><a href="#impl-PartialEq%3Cbool%3E-2">PartialEq<bool></a></li><li><a href="#impl-PartialEq%3Cf32%3E">PartialEq<f32></a></li><li><a href="#impl-PartialEq%3Cf32%3E-1">PartialEq<f32></a></li><li><a href="#impl-PartialEq%3Cf32%3E-2">PartialEq<f32></a></li><li><a href="#impl-PartialEq%3Cf64%3E">PartialEq<f64></a></li><li><a href="#impl-PartialEq%3Cf64%3E-1">PartialEq<f64></a></li><li><a href="#impl-PartialEq%3Cf64%3E-2">PartialEq<f64></a></li><li><a href="#impl-PartialEq%3Ci16%3E">PartialEq<i16></a></li><li><a href="#impl-PartialEq%3Ci16%3E-1">PartialEq<i16></a></li><li><a href="#impl-PartialEq%3Ci16%3E-2">PartialEq<i16></a></li><li><a href="#impl-PartialEq%3Ci32%3E">PartialEq<i32></a></li><li><a href="#impl-PartialEq%3Ci32%3E-1">PartialEq<i32></a></li><li><a href="#impl-PartialEq%3Ci32%3E-2">PartialEq<i32></a></li><li><a href="#impl-PartialEq%3Ci64%3E">PartialEq<i64></a></li><li><a href="#impl-PartialEq%3Ci64%3E-1">PartialEq<i64></a></li><li><a href="#impl-PartialEq%3Ci64%3E-2">PartialEq<i64></a></li><li><a href="#impl-PartialEq%3Ci8%3E">PartialEq<i8></a></li><li><a href="#impl-PartialEq%3Ci8%3E-1">PartialEq<i8></a></li><li><a href="#impl-PartialEq%3Ci8%3E-2">PartialEq<i8></a></li><li><a href="#impl-PartialEq%3Cisize%3E">PartialEq<isize></a></li><li><a href="#impl-PartialEq%3Cisize%3E-1">PartialEq<isize></a></li><li><a href="#impl-PartialEq%3Cisize%3E-2">PartialEq<isize></a></li><li><a href="#impl-PartialEq%3Cstr%3E">PartialEq<str></a></li><li><a href="#impl-PartialEq%3Cu16%3E">PartialEq<u16></a></li><li><a href="#impl-PartialEq%3Cu16%3E-1">PartialEq<u16></a></li><li><a href="#impl-PartialEq%3Cu16%3E-2">PartialEq<u16></a></li><li><a href="#impl-PartialEq%3Cu32%3E">PartialEq<u32></a></li><li><a href="#impl-PartialEq%3Cu32%3E-1">PartialEq<u32></a></li><li><a href="#impl-PartialEq%3Cu32%3E-2">PartialEq<u32></a></li><li><a href="#impl-PartialEq%3Cu64%3E">PartialEq<u64></a></li><li><a href="#impl-PartialEq%3Cu64%3E-1">PartialEq<u64></a></li><li><a href="#impl-PartialEq%3Cu64%3E-2">PartialEq<u64></a></li><li><a href="#impl-PartialEq%3Cu8%3E">PartialEq<u8></a></li><li><a href="#impl-PartialEq%3Cu8%3E-1">PartialEq<u8></a></li><li><a href="#impl-PartialEq%3Cu8%3E-2">PartialEq<u8></a></li><li><a href="#impl-PartialEq%3Cusize%3E">PartialEq<usize></a></li><li><a href="#impl-PartialEq%3Cusize%3E-1">PartialEq<usize></a></li><li><a href="#impl-PartialEq%3Cusize%3E-2">PartialEq<usize></a></li><li><a href="#impl-Serialize">Serialize</a></li><li><a href="#impl-StructuralEq">StructuralEq</a></li><li><a href="#impl-StructuralPartialEq">StructuralPartialEq</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a></li><li><a href="#impl-DeserializeOwned">DeserializeOwned</a></li><li><a href="#impl-From%3CT%3E">From<T></a></li><li><a href="#impl-Into%3CU%3E">Into<U></a></li><li><a href="#impl-ToOwned">ToOwned</a></li><li><a href="#impl-ToString">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E">TryInto<U></a></li></ul></div></section><h2 class="location"><a href="index.html">In serde_json::value</a></h2><div id="sidebar-vars" data-name="Value" data-ty="enum" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../serde_json/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Enum <a href="../index.html">serde_json</a>::<wbr><a href="index.html">value</a>::<wbr><a class="enum" href="#">Value</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#115-175">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust enum"><code>pub enum Value {
Null,
Bool(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
Number(<a class="struct" href="struct.Number.html" title="struct serde_json::value::Number">Number</a>),
String(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
Array(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>),
Object(<a class="struct" href="../struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>),
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Represents any valid JSON value.</p>
<p>See the <a href="index.html"><code>serde_json::value</code> module documentation</a> for usage examples.</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.Null" class="variant small-section-header"><a href="#variant.Null" class="anchor field"></a><code>Null</code></h3><div class="docblock"><p>Represents a JSON null value.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>(<span class="ident">null</span>);</code></pre></div>
</div><h3 id="variant.Bool" class="variant small-section-header"><a href="#variant.Bool" class="anchor field"></a><code>Bool(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></h3><div class="docblock"><p>Represents a JSON boolean.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>(<span class="bool-val">true</span>);</code></pre></div>
</div><h3 id="variant.Number" class="variant small-section-header"><a href="#variant.Number" class="anchor field"></a><code>Number(<a class="struct" href="struct.Number.html" title="struct serde_json::value::Number">Number</a>)</code></h3><div class="docblock"><p>Represents a JSON number, whether integer or floating point.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>(<span class="number">12.5</span>);</code></pre></div>
</div><h3 id="variant.String" class="variant small-section-header"><a href="#variant.String" class="anchor field"></a><code>String(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></h3><div class="docblock"><p>Represents a JSON string.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>(<span class="string">"a string"</span>);</code></pre></div>
</div><h3 id="variant.Array" class="variant small-section-header"><a href="#variant.Array" class="anchor field"></a><code>Array(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>)</code></h3><div class="docblock"><p>Represents a JSON array.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>([<span class="string">"an"</span>, <span class="string">"array"</span>]);</code></pre></div>
</div><h3 id="variant.Object" class="variant small-section-header"><a href="#variant.Object" class="anchor field"></a><code>Object(<a class="struct" href="../struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>)</code></h3><div class="docblock"><p>Represents a JSON object.</p>
<p>By default the map is backed by a BTreeMap. Enable the <code>preserve_order</code>
feature of serde_json to use IndexMap instead, which preserves
entries in the order they are inserted into the map. In particular, this
allows JSON data to be deserialized into a Value and serialized to a
string while retaining the order of map keys in the input.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"an"</span>: <span class="string">"object"</span> });</code></pre></div>
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#267-843">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#306-308">source</a></span><a href="#method.get" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get" class="fnname">get</a><I: <a class="trait" href="trait.Index.html" title="trait serde_json::value::Index">Index</a>>(&self, index: I) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>></h4></section></summary><div class="docblock"><p>Index into a JSON array or map. A string index can be used to access a
value in a map, and a usize index can be used to access an element of an
array.</p>
<p>Returns <code>None</code> if the type of <code>self</code> does not match the type of the
index, for example if the index is a string and <code>self</code> is an array or a
number. Also returns <code>None</code> if the given key does not exist in the map
or the given index is not within the bounds of the array.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">object</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"A"</span>: <span class="number">65</span>, <span class="string">"B"</span>: <span class="number">66</span>, <span class="string">"C"</span>: <span class="number">67</span> });
<span class="macro">assert_eq!</span>(<span class="kw-2">*</span><span class="ident">object</span>.<span class="ident">get</span>(<span class="string">"A"</span>).<span class="ident">unwrap</span>(), <span class="macro">json!</span>(<span class="number">65</span>));
<span class="kw">let</span> <span class="ident">array</span> <span class="op">=</span> <span class="macro">json!</span>([ <span class="string">"A"</span>, <span class="string">"B"</span>, <span class="string">"C"</span> ]);
<span class="macro">assert_eq!</span>(<span class="kw-2">*</span><span class="ident">array</span>.<span class="ident">get</span>(<span class="number">2</span>).<span class="ident">unwrap</span>(), <span class="macro">json!</span>(<span class="string">"C"</span>));
<span class="macro">assert_eq!</span>(<span class="ident">array</span>.<span class="ident">get</span>(<span class="string">"A"</span>), <span class="prelude-val">None</span>);</code></pre></div>
<p>Square brackets can also be used to index into a value in a more concise
way. This returns <code>Value::Null</code> in cases where <code>get</code> would have returned
<code>None</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">object</span> <span class="op">=</span> <span class="macro">json!</span>({
<span class="string">"A"</span>: [<span class="string">"a"</span>, <span class="string">"á"</span>, <span class="string">"à"</span>],
<span class="string">"B"</span>: [<span class="string">"b"</span>, <span class="string">"b́"</span>],
<span class="string">"C"</span>: [<span class="string">"c"</span>, <span class="string">"ć"</span>, <span class="string">"ć̣"</span>, <span class="string">"ḉ"</span>],
});
<span class="macro">assert_eq!</span>(<span class="ident">object</span>[<span class="string">"B"</span>][<span class="number">0</span>], <span class="macro">json!</span>(<span class="string">"b"</span>));
<span class="macro">assert_eq!</span>(<span class="ident">object</span>[<span class="string">"D"</span>], <span class="macro">json!</span>(<span class="ident">null</span>));
<span class="macro">assert_eq!</span>(<span class="ident">object</span>[<span class="number">0</span>][<span class="string">"x"</span>][<span class="string">"y"</span>][<span class="string">"z"</span>], <span class="macro">json!</span>(<span class="ident">null</span>));</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#328-330">source</a></span><a href="#method.get_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_mut" class="fnname">get_mut</a><I: <a class="trait" href="trait.Index.html" title="trait serde_json::value::Index">Index</a>>(&mut self, index: I) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>></h4></section></summary><div class="docblock"><p>Mutably index into a JSON array or map. A string index can be used to
access a value in a map, and a usize index can be used to access an
element of an array.</p>
<p>Returns <code>None</code> if the type of <code>self</code> does not match the type of the
index, for example if the index is a string and <code>self</code> is an array or a
number. Also returns <code>None</code> if the given key does not exist in the map
or the given index is not within the bounds of the array.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">object</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"A"</span>: <span class="number">65</span>, <span class="string">"B"</span>: <span class="number">66</span>, <span class="string">"C"</span>: <span class="number">67</span> });
<span class="kw-2">*</span><span class="ident">object</span>.<span class="ident">get_mut</span>(<span class="string">"A"</span>).<span class="ident">unwrap</span>() <span class="op">=</span> <span class="macro">json!</span>(<span class="number">69</span>);
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">array</span> <span class="op">=</span> <span class="macro">json!</span>([ <span class="string">"A"</span>, <span class="string">"B"</span>, <span class="string">"C"</span> ]);
<span class="kw-2">*</span><span class="ident">array</span>.<span class="ident">get_mut</span>(<span class="number">2</span>).<span class="ident">unwrap</span>() <span class="op">=</span> <span class="macro">json!</span>(<span class="string">"D"</span>);</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_object" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#349-351">source</a></span><a href="#method.is_object" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_object" class="fnname">is_object</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Value</code> is an Object. Returns false otherwise.</p>
<p>For any Value on which <code>is_object</code> returns true, <code>as_object</code> and
<code>as_object_mut</code> are guaranteed to return the map representation of the
object.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">obj</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: { <span class="string">"nested"</span>: <span class="bool-val">true</span> }, <span class="string">"b"</span>: [<span class="string">"an"</span>, <span class="string">"array"</span>] });
<span class="macro">assert!</span>(<span class="ident">obj</span>.<span class="ident">is_object</span>());
<span class="macro">assert!</span>(<span class="ident">obj</span>[<span class="string">"a"</span>].<span class="ident">is_object</span>());
<span class="comment">// array, not an object</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">obj</span>[<span class="string">"b"</span>].<span class="ident">is_object</span>());</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_object" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#367-372">source</a></span><a href="#method.as_object" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.as_object" class="fnname">as_object</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>></h4></section></summary><div class="docblock"><p>If the <code>Value</code> is an Object, returns the associated Map. Returns None
otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: { <span class="string">"nested"</span>: <span class="bool-val">true</span> }, <span class="string">"b"</span>: [<span class="string">"an"</span>, <span class="string">"array"</span>] });
<span class="comment">// The length of `{"nested": true}` is 1 entry.</span>
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_object</span>().<span class="ident">unwrap</span>().<span class="ident">len</span>(), <span class="number">1</span>);
<span class="comment">// The array `["an", "array"]` is not an object.</span>
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">as_object</span>(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_object_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#385-390">source</a></span><a href="#method.as_object_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.as_object_mut" class="fnname">as_object_mut</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut <a class="struct" href="../struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>></h4></section></summary><div class="docblock"><p>If the <code>Value</code> is an Object, returns the associated mutable Map.
Returns None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: { <span class="string">"nested"</span>: <span class="bool-val">true</span> } });
<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_object_mut</span>().<span class="ident">unwrap</span>().<span class="ident">clear</span>();
<span class="macro">assert_eq!</span>(<span class="ident">v</span>, <span class="macro">json!</span>({ <span class="string">"a"</span>: {} }));</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_array" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#408-410">source</a></span><a href="#method.is_array" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_array" class="fnname">is_array</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Value</code> is an Array. Returns false otherwise.</p>
<p>For any Value on which <code>is_array</code> returns true, <code>as_array</code> and
<code>as_array_mut</code> are guaranteed to return the vector representing the
array.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">obj</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: [<span class="string">"an"</span>, <span class="string">"array"</span>], <span class="string">"b"</span>: { <span class="string">"an"</span>: <span class="string">"object"</span> } });
<span class="macro">assert!</span>(<span class="ident">obj</span>[<span class="string">"a"</span>].<span class="ident">is_array</span>());
<span class="comment">// an object, not an array</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">obj</span>[<span class="string">"b"</span>].<span class="ident">is_array</span>());</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_array" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#426-431">source</a></span><a href="#method.as_array" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.as_array" class="fnname">as_array</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>></h4></section></summary><div class="docblock"><p>If the <code>Value</code> is an Array, returns the associated vector. Returns None
otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: [<span class="string">"an"</span>, <span class="string">"array"</span>], <span class="string">"b"</span>: { <span class="string">"an"</span>: <span class="string">"object"</span> } });
<span class="comment">// The length of `["an", "array"]` is 2 elements.</span>
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_array</span>().<span class="ident">unwrap</span>().<span class="ident">len</span>(), <span class="number">2</span>);
<span class="comment">// The object `{"an": "object"}` is not an array.</span>
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">as_array</span>(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_array_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#444-449">source</a></span><a href="#method.as_array_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.as_array_mut" class="fnname">as_array_mut</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>></h4></section></summary><div class="docblock"><p>If the <code>Value</code> is an Array, returns the associated mutable vector.
Returns None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: [<span class="string">"an"</span>, <span class="string">"array"</span>] });
<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_array_mut</span>().<span class="ident">unwrap</span>().<span class="ident">clear</span>();
<span class="macro">assert_eq!</span>(<span class="ident">v</span>, <span class="macro">json!</span>({ <span class="string">"a"</span>: [] }));</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_string" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#466-468">source</a></span><a href="#method.is_string" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_string" class="fnname">is_string</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Value</code> is a String. Returns false otherwise.</p>
<p>For any Value on which <code>is_string</code> returns true, <code>as_str</code> is guaranteed
to return the string slice.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="string">"some string"</span>, <span class="string">"b"</span>: <span class="bool-val">false</span> });
<span class="macro">assert!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">is_string</span>());
<span class="comment">// The boolean `false` is not a string.</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">is_string</span>());</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_str" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#493-498">source</a></span><a href="#method.as_str" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.as_str" class="fnname">as_str</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>></h4></section></summary><div class="docblock"><p>If the <code>Value</code> is a String, returns the associated str. Returns None
otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="string">"some string"</span>, <span class="string">"b"</span>: <span class="bool-val">false</span> });
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_str</span>(), <span class="prelude-val">Some</span>(<span class="string">"some string"</span>));
<span class="comment">// The boolean `false` is not a string.</span>
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">as_str</span>(), <span class="prelude-val">None</span>);
<span class="comment">// JSON values are printed in JSON representation, so strings are in quotes.</span>
<span class="comment">//</span>
<span class="comment">// The value is: "some string"</span>
<span class="macro">println!</span>(<span class="string">"The value is: {}"</span>, <span class="ident">v</span>[<span class="string">"a"</span>]);
<span class="comment">// Rust strings are printed without quotes.</span>
<span class="comment">//</span>
<span class="comment">// The value is: some string</span>
<span class="macro">println!</span>(<span class="string">"The value is: {}"</span>, <span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_str</span>().<span class="ident">unwrap</span>());</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_number" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#512-517">source</a></span><a href="#method.is_number" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_number" class="fnname">is_number</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Value</code> is a Number. Returns false otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">1</span>, <span class="string">"b"</span>: <span class="string">"2"</span> });
<span class="macro">assert!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">is_number</span>());
<span class="comment">// The string `"2"` is a string, not a number.</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">is_number</span>());</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_i64" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#539-544">source</a></span><a href="#method.is_i64" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_i64" class="fnname">is_i64</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Value</code> is an integer between <code>i64::MIN</code> and
<code>i64::MAX</code>.</p>
<p>For any Value on which <code>is_i64</code> returns true, <code>as_i64</code> is guaranteed to
return the integer value.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">big</span> <span class="op">=</span> <span class="ident">i64::max_value</span>() <span class="kw">as</span> <span class="ident">u64</span> <span class="op">+</span> <span class="number">10</span>;
<span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">64</span>, <span class="string">"b"</span>: <span class="ident">big</span>, <span class="string">"c"</span>: <span class="number">256.0</span> });
<span class="macro">assert!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">is_i64</span>());
<span class="comment">// Greater than i64::MAX.</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">is_i64</span>());
<span class="comment">// Numbers with a decimal point are not considered integers.</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">v</span>[<span class="string">"c"</span>].<span class="ident">is_i64</span>());</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_u64" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#564-569">source</a></span><a href="#method.is_u64" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_u64" class="fnname">is_u64</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Value</code> is an integer between zero and <code>u64::MAX</code>.</p>
<p>For any Value on which <code>is_u64</code> returns true, <code>as_u64</code> is guaranteed to
return the integer value.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">64</span>, <span class="string">"b"</span>: <span class="op">-</span><span class="number">64</span>, <span class="string">"c"</span>: <span class="number">256.0</span> });
<span class="macro">assert!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">is_u64</span>());
<span class="comment">// Negative integer.</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">is_u64</span>());
<span class="comment">// Numbers with a decimal point are not considered integers.</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">v</span>[<span class="string">"c"</span>].<span class="ident">is_u64</span>());</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_f64" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#590-595">source</a></span><a href="#method.is_f64" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_f64" class="fnname">is_f64</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Value</code> is a number that can be represented by f64.</p>
<p>For any Value on which <code>is_f64</code> returns true, <code>as_f64</code> is guaranteed to
return the floating point value.</p>
<p>Currently this function returns true if and only if both <code>is_i64</code> and
<code>is_u64</code> return false but this is not a guarantee in the future.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">256.0</span>, <span class="string">"b"</span>: <span class="number">64</span>, <span class="string">"c"</span>: <span class="op">-</span><span class="number">64</span> });
<span class="macro">assert!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">is_f64</span>());
<span class="comment">// Integers.</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">is_f64</span>());
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">v</span>[<span class="string">"c"</span>].<span class="ident">is_f64</span>());</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_i64" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#610-615">source</a></span><a href="#method.as_i64" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.as_i64" class="fnname">as_i64</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>></h4></section></summary><div class="docblock"><p>If the <code>Value</code> is an integer, represent it as i64 if possible. Returns
None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">big</span> <span class="op">=</span> <span class="ident">i64::max_value</span>() <span class="kw">as</span> <span class="ident">u64</span> <span class="op">+</span> <span class="number">10</span>;
<span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">64</span>, <span class="string">"b"</span>: <span class="ident">big</span>, <span class="string">"c"</span>: <span class="number">256.0</span> });
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_i64</span>(), <span class="prelude-val">Some</span>(<span class="number">64</span>));
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">as_i64</span>(), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"c"</span>].<span class="ident">as_i64</span>(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_u64" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#629-634">source</a></span><a href="#method.as_u64" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.as_u64" class="fnname">as_u64</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>></h4></section></summary><div class="docblock"><p>If the <code>Value</code> is an integer, represent it as u64 if possible. Returns
None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">64</span>, <span class="string">"b"</span>: <span class="op">-</span><span class="number">64</span>, <span class="string">"c"</span>: <span class="number">256.0</span> });
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_u64</span>(), <span class="prelude-val">Some</span>(<span class="number">64</span>));
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">as_u64</span>(), <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"c"</span>].<span class="ident">as_u64</span>(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_f64" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#648-653">source</a></span><a href="#method.as_f64" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.as_f64" class="fnname">as_f64</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>></h4></section></summary><div class="docblock"><p>If the <code>Value</code> is a number, represent it as f64 if possible. Returns
None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="number">256.0</span>, <span class="string">"b"</span>: <span class="number">64</span>, <span class="string">"c"</span>: <span class="op">-</span><span class="number">64</span> });
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_f64</span>(), <span class="prelude-val">Some</span>(<span class="number">256.0</span>));
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">as_f64</span>(), <span class="prelude-val">Some</span>(<span class="number">64.0</span>));
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"c"</span>].<span class="ident">as_f64</span>(), <span class="prelude-val">Some</span>(<span class="op">-</span><span class="number">64.0</span>));</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_boolean" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#670-672">source</a></span><a href="#method.is_boolean" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_boolean" class="fnname">is_boolean</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Value</code> is a Boolean. Returns false otherwise.</p>
<p>For any Value on which <code>is_boolean</code> returns true, <code>as_bool</code> is
guaranteed to return the boolean value.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="bool-val">false</span>, <span class="string">"b"</span>: <span class="string">"false"</span> });
<span class="macro">assert!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">is_boolean</span>());
<span class="comment">// The string `"false"` is a string, not a boolean.</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">is_boolean</span>());</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_bool" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#687-692">source</a></span><a href="#method.as_bool" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.as_bool" class="fnname">as_bool</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>></h4></section></summary><div class="docblock"><p>If the <code>Value</code> is a Boolean, returns the associated bool. Returns None
otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="bool-val">false</span>, <span class="string">"b"</span>: <span class="string">"false"</span> });
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_bool</span>(), <span class="prelude-val">Some</span>(<span class="bool-val">false</span>));
<span class="comment">// The string `"false"` is a string, not a boolean.</span>
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">as_bool</span>(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_null" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#709-711">source</a></span><a href="#method.is_null" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_null" class="fnname">is_null</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <code>Value</code> is a Null. Returns false otherwise.</p>
<p>For any Value on which <code>is_null</code> returns true, <code>as_null</code> is guaranteed
to return <code>Some(())</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="ident">null</span>, <span class="string">"b"</span>: <span class="bool-val">false</span> });
<span class="macro">assert!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">is_null</span>());
<span class="comment">// The boolean `false` is not null.</span>
<span class="macro">assert!</span>(<span class="op">!</span><span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">is_null</span>());</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_null" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#725-730">source</a></span><a href="#method.as_null" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.as_null" class="fnname">as_null</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>If the <code>Value</code> is a Null, returns (). Returns None otherwise.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"a"</span>: <span class="ident">null</span>, <span class="string">"b"</span>: <span class="bool-val">false</span> });
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"a"</span>].<span class="ident">as_null</span>(), <span class="prelude-val">Some</span>(()));
<span class="comment">// The boolean `false` is not null.</span>
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"b"</span>].<span class="ident">as_null</span>(), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pointer" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#758-774">source</a></span><a href="#method.pointer" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.pointer" class="fnname">pointer</a>(&self, pointer: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>></h4></section></summary><div class="docblock"><p>Looks up a value by a JSON Pointer.</p>
<p>JSON Pointer defines a string syntax for identifying a specific value
within a JavaScript Object Notation (JSON) document.</p>
<p>A Pointer is a Unicode string with the reference tokens separated by <code>/</code>.
Inside tokens <code>/</code> is replaced by <code>~1</code> and <code>~</code> is replaced by <code>~0</code>. The
addressed value is returned and if there is no such value <code>None</code> is
returned.</p>
<p>For more information read <a href="https://tools.ietf.org/html/rfc6901">RFC6901</a>.</p>
<h5 id="examples"><a href="#examples">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">data</span> <span class="op">=</span> <span class="macro">json!</span>({
<span class="string">"x"</span>: {
<span class="string">"y"</span>: [<span class="string">"z"</span>, <span class="string">"zz"</span>]
}
});
<span class="macro">assert_eq!</span>(<span class="ident">data</span>.<span class="ident">pointer</span>(<span class="string">"/x/y/1"</span>).<span class="ident">unwrap</span>(), <span class="kw-2">&</span><span class="macro">json!</span>(<span class="string">"zz"</span>));
<span class="macro">assert_eq!</span>(<span class="ident">data</span>.<span class="ident">pointer</span>(<span class="string">"/a/b/c"</span>), <span class="prelude-val">None</span>);</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pointer_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#813-829">source</a></span><a href="#method.pointer_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.pointer_mut" class="fnname">pointer_mut</a>(&mut self, pointer: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>></h4></section></summary><div class="docblock"><p>Looks up a value by a JSON Pointer and returns a mutable reference to
that value.</p>
<p>JSON Pointer defines a string syntax for identifying a specific value
within a JavaScript Object Notation (JSON) document.</p>
<p>A Pointer is a Unicode string with the reference tokens separated by <code>/</code>.
Inside tokens <code>/</code> is replaced by <code>~1</code> and <code>~</code> is replaced by <code>~0</code>. The
addressed value is returned and if there is no such value <code>None</code> is
returned.</p>
<p>For more information read <a href="https://tools.ietf.org/html/rfc6901">RFC6901</a>.</p>
<h5 id="example-of-use"><a href="#example-of-use">Example of Use</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">fn</span> <span class="ident">main</span>() {
<span class="kw">let</span> <span class="ident">s</span> <span class="op">=</span> <span class="string">r#"{"x": 1.0, "y": 2.0}"#</span>;
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">value</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">serde_json::from_str</span>(<span class="ident">s</span>).<span class="ident">unwrap</span>();
<span class="comment">// Check value using read-only pointer</span>
<span class="macro">assert_eq!</span>(<span class="ident">value</span>.<span class="ident">pointer</span>(<span class="string">"/x"</span>), <span class="prelude-val">Some</span>(<span class="kw-2">&</span><span class="number">1.0</span>.<span class="ident">into</span>()));
<span class="comment">// Change value with direct assignment</span>
<span class="kw-2">*</span><span class="ident">value</span>.<span class="ident">pointer_mut</span>(<span class="string">"/x"</span>).<span class="ident">unwrap</span>() <span class="op">=</span> <span class="number">1.5</span>.<span class="ident">into</span>();
<span class="comment">// Check that new value was written</span>
<span class="macro">assert_eq!</span>(<span class="ident">value</span>.<span class="ident">pointer</span>(<span class="string">"/x"</span>), <span class="prelude-val">Some</span>(<span class="kw-2">&</span><span class="number">1.5</span>.<span class="ident">into</span>()));
<span class="comment">// Or change the value only if it exists</span>
<span class="ident">value</span>.<span class="ident">pointer_mut</span>(<span class="string">"/x"</span>).<span class="ident">map</span>(<span class="op">|</span><span class="ident">v</span><span class="op">|</span> <span class="kw-2">*</span><span class="ident">v</span> <span class="op">=</span> <span class="number">1.5</span>.<span class="ident">into</span>());
<span class="comment">// "Steal" ownership of a value. Can replace with any valid Value.</span>
<span class="kw">let</span> <span class="ident">old_x</span> <span class="op">=</span> <span class="ident">value</span>.<span class="ident">pointer_mut</span>(<span class="string">"/x"</span>).<span class="ident">map</span>(<span class="ident">Value::take</span>).<span class="ident">unwrap</span>();
<span class="macro">assert_eq!</span>(<span class="ident">old_x</span>, <span class="number">1.5</span>);
<span class="macro">assert_eq!</span>(<span class="ident">value</span>.<span class="ident">pointer</span>(<span class="string">"/x"</span>).<span class="ident">unwrap</span>(), <span class="kw-2">&</span><span class="ident">Value::Null</span>);
}</code></pre></div>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.take" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#840-842">source</a></span><a href="#method.take" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.take" class="fnname">take</a>(&mut self) -> <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class="docblock"><p>Takes the value out of the <code>Value</code>, leaving a <code>Null</code> in its place.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"x"</span>: <span class="string">"y"</span> });
<span class="macro">assert_eq!</span>(<span class="ident">v</span>[<span class="string">"x"</span>].<span class="ident">take</span>(), <span class="macro">json!</span>(<span class="string">"y"</span>));
<span class="macro">assert_eq!</span>(<span class="ident">v</span>, <span class="macro">json!</span>({ <span class="string">"x"</span>: <span class="ident">null</span> }));</code></pre></div>
</div></details></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#114">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#114">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&self) -> <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#133-135">source</a></span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</h4></section></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#177-196">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#178-195">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, formatter: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#874-878">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="docblock"><p>The default value is <code>Value::Null</code>.</p>
<p>This is useful for handling omitted <code>Value</code> fields when deserializing.</p>
<h4 id="examples-1"><a href="#examples-1">Examples</a></h4>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Deserialize</span>)]</span>
<span class="kw">struct</span> <span class="ident">Settings</span> {
<span class="ident">level</span>: <span class="ident">i32</span>,
<span class="attribute">#[<span class="ident">serde</span>(<span class="ident">default</span>)]</span>
<span class="ident">extras</span>: <span class="ident">Value</span>,
}
<span class="kw">let</span> <span class="ident">data</span> <span class="op">=</span> <span class="string">r#" { "level": 42 } "#</span>;
<span class="kw">let</span> <span class="ident">s</span>: <span class="ident">Settings</span> <span class="op">=</span> <span class="ident">serde_json::from_str</span>(<span class="ident">data</span>)<span class="question-mark">?</span>;
<span class="macro">assert_eq!</span>(<span class="ident">s</span>.<span class="ident">level</span>, <span class="number">42</span>);
<span class="macro">assert_eq!</span>(<span class="ident">s</span>.<span class="ident">extras</span>, <span class="ident">Value::Null</span>);</code></pre></div>
</div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#875-877">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#22-137">source</a></span><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="../../serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#24-136">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><D>(deserializer: D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>, D::<a class="associatedtype" href="../../serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> D: <a class="trait" href="../../serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="../../serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserializer%3C%27de%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#208-459">source</a></span><a href="#impl-Deserializer%3C%27de%3E" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="../../serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error" class="anchor"></a><h4 class="code-header">type <a href="../../serde/de/trait.Deserializer.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a></h4></section></summary><div class='docblock'><p>The error type that can be returned if some error occurs during
deserialization. <a href="../../serde/de/trait.Deserializer.html#associatedtype.Error">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_any" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#212-225">source</a></span><a href="#method.deserialize_any" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_any" class="fnname">deserialize_any</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Require the <code>Deserializer</code> to figure out how to drive the visitor based
on what data type is in the input. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_any">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_i8" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#227">source</a></span><a href="#method.deserialize_i8" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_i8" class="fnname">deserialize_i8</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i8</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_i16" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#228">source</a></span><a href="#method.deserialize_i16" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_i16" class="fnname">deserialize_i16</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i16</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_i32" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#229">source</a></span><a href="#method.deserialize_i32" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_i32" class="fnname">deserialize_i32</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i32</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_i64" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#230">source</a></span><a href="#method.deserialize_i64" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_i64" class="fnname">deserialize_i64</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i64</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_u8" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#231">source</a></span><a href="#method.deserialize_u8" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_u8" class="fnname">deserialize_u8</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u8</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_u16" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#232">source</a></span><a href="#method.deserialize_u16" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_u16" class="fnname">deserialize_u16</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u16</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_u32" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#233">source</a></span><a href="#method.deserialize_u32" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_u32" class="fnname">deserialize_u32</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u32</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_u64" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#234">source</a></span><a href="#method.deserialize_u64" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_u64" class="fnname">deserialize_u64</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u64</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_f32" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#235">source</a></span><a href="#method.deserialize_f32" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_f32" class="fnname">deserialize_f32</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>f32</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_f64" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#236">source</a></span><a href="#method.deserialize_f64" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_f64" class="fnname">deserialize_f64</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>f64</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_i128" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#239">source</a></span><a href="#method.deserialize_i128" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#method.deserialize_i128" class="fnname">deserialize_i128</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i128</code> value. <a href="../../serde/de/trait.Deserializer.html#method.deserialize_i128">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_u128" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#240">source</a></span><a href="#method.deserialize_u128" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#method.deserialize_u128" class="fnname">deserialize_u128</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>u128</code> value. <a href="../../serde/de/trait.Deserializer.html#method.deserialize_u128">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_option" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#244-252">source</a></span><a href="#method.deserialize_option" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_option" class="fnname">deserialize_option</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an optional value. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_option">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_enum" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#255-295">source</a></span><a href="#method.deserialize_enum" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_enum" class="fnname">deserialize_enum</a><V>(<br> self, <br> _name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> _variants: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'static [</a>&'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an enum value with a
particular name and possible variants. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_enum">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_newtype_struct" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#298-317">source</a></span><a href="#method.deserialize_newtype_struct" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct" class="fnname">deserialize_newtype_struct</a><V>(<br> self, <br> name: &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a newtype struct with a
particular name. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_bool" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#319-327">source</a></span><a href="#method.deserialize_bool" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_bool" class="fnname">deserialize_bool</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>bool</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_char" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#329-334">source</a></span><a href="#method.deserialize_char" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_char" class="fnname">deserialize_char</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>char</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_str" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#336-341">source</a></span><a href="#method.deserialize_str" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_str" class="fnname">deserialize_str</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_str">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_string" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#343-352">source</a></span><a href="#method.deserialize_string" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_string" class="fnname">deserialize_string</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_string">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_bytes" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#354-359">source</a></span><a href="#method.deserialize_bytes" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_bytes" class="fnname">deserialize_bytes</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_bytes">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_byte_buf" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#361-371">source</a></span><a href="#method.deserialize_byte_buf" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_byte_buf" class="fnname">deserialize_byte_buf</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_byte_buf">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_unit" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#373-381">source</a></span><a href="#method.deserialize_unit" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_unit" class="fnname">deserialize_unit</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a unit value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_unit_struct" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#383-388">source</a></span><a href="#method.deserialize_unit_struct" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_unit_struct" class="fnname">deserialize_unit_struct</a><V>(<br> self, <br> _name: &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a unit struct with a
particular name. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_unit_struct">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_seq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#390-398">source</a></span><a href="#method.deserialize_seq" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_seq" class="fnname">deserialize_seq</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a sequence of values.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_tuple" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#400-405">source</a></span><a href="#method.deserialize_tuple" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple" class="fnname">deserialize_tuple</a><V>(<br> self, <br> _len: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a sequence of values and
knows how many values there are without looking at the serialized data. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_tuple_struct" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#407-417">source</a></span><a href="#method.deserialize_tuple_struct" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct" class="fnname">deserialize_tuple_struct</a><V>(<br> self, <br> _name: &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> _len: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a tuple struct with a
particular name and number of fields. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_map" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#419-427">source</a></span><a href="#method.deserialize_map" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_map" class="fnname">deserialize_map</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a map of key-value pairs.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_struct" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#429-443">source</a></span><a href="#method.deserialize_struct" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_struct" class="fnname">deserialize_struct</a><V>(<br> self, <br> _name: &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> _fields: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'static [</a>&'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a struct with a particular
name and fields. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_struct">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_identifier" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#445-450">source</a></span><a href="#method.deserialize_identifier" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_identifier" class="fnname">deserialize_identifier</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting the name of a struct
field or the discriminant of an enum variant. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_identifier">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_ignored_any" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#452-458">source</a></span><a href="#method.deserialize_ignored_any" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_ignored_any" class="fnname">deserialize_ignored_any</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type needs to deserialize a value whose type
doesn’t matter because it is ignored. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_ignored_any">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_human_readable" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde/de/mod.rs.html#1215">source</a></span><a href="#method.is_human_readable" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#method.is_human_readable" class="fnname">is_human_readable</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>Determine whether <code>Deserialize</code> implementations should expect to
deserialize their human-readable form. <a href="../../serde/de/trait.Deserializer.html#method.is_human_readable">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserializer%3C%27de%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#706-950">source</a></span><a href="#impl-Deserializer%3C%27de%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="../../serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de> for &'de <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-1" class="anchor"></a><h4 class="code-header">type <a href="../../serde/de/trait.Deserializer.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a></h4></section></summary><div class='docblock'><p>The error type that can be returned if some error occurs during
deserialization. <a href="../../serde/de/trait.Deserializer.html#associatedtype.Error">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_any-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#709-721">source</a></span><a href="#method.deserialize_any-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_any" class="fnname">deserialize_any</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Require the <code>Deserializer</code> to figure out how to drive the visitor based
on what data type is in the input. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_any">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_i8-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#723">source</a></span><a href="#method.deserialize_i8-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_i8" class="fnname">deserialize_i8</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i8</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_i16-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#724">source</a></span><a href="#method.deserialize_i16-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_i16" class="fnname">deserialize_i16</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i16</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_i32-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#725">source</a></span><a href="#method.deserialize_i32-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_i32" class="fnname">deserialize_i32</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i32</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_i64-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#726">source</a></span><a href="#method.deserialize_i64-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_i64" class="fnname">deserialize_i64</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i64</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_u8-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#727">source</a></span><a href="#method.deserialize_u8-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_u8" class="fnname">deserialize_u8</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u8</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_u16-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#728">source</a></span><a href="#method.deserialize_u16-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_u16" class="fnname">deserialize_u16</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u16</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_u32-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#729">source</a></span><a href="#method.deserialize_u32-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_u32" class="fnname">deserialize_u32</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u32</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_u64-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#730">source</a></span><a href="#method.deserialize_u64-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_u64" class="fnname">deserialize_u64</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>u64</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_f32-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#731">source</a></span><a href="#method.deserialize_f32-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_f32" class="fnname">deserialize_f32</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>f32</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_f64-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#732">source</a></span><a href="#method.deserialize_f64-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_f64" class="fnname">deserialize_f64</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>f64</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_i128-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#735">source</a></span><a href="#method.deserialize_i128-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#method.deserialize_i128" class="fnname">deserialize_i128</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>i128</code> value. <a href="../../serde/de/trait.Deserializer.html#method.deserialize_i128">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_u128-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#736">source</a></span><a href="#method.deserialize_u128-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#method.deserialize_u128" class="fnname">deserialize_u128</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an <code>u128</code> value. <a href="../../serde/de/trait.Deserializer.html#method.deserialize_u128">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_option-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#739-747">source</a></span><a href="#method.deserialize_option-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_option" class="fnname">deserialize_option</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an optional value. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_option">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_enum-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#749-789">source</a></span><a href="#method.deserialize_enum-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_enum" class="fnname">deserialize_enum</a><V>(<br> self, <br> _name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> _variants: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'static [</a>&'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting an enum value with a
particular name and possible variants. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_enum">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_newtype_struct-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#792-811">source</a></span><a href="#method.deserialize_newtype_struct-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct" class="fnname">deserialize_newtype_struct</a><V>(<br> self, <br> name: &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a newtype struct with a
particular name. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_newtype_struct">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_bool-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#813-821">source</a></span><a href="#method.deserialize_bool-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_bool" class="fnname">deserialize_bool</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>bool</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_char-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#823-828">source</a></span><a href="#method.deserialize_char-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_char" class="fnname">deserialize_char</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a <code>char</code> value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_str-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#830-838">source</a></span><a href="#method.deserialize_str-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_str" class="fnname">deserialize_str</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_str">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_string-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#840-845">source</a></span><a href="#method.deserialize_string-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_string" class="fnname">deserialize_string</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a string value and would
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_string">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_bytes-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#847-856">source</a></span><a href="#method.deserialize_bytes-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_bytes" class="fnname">deserialize_bytes</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a byte array and does not
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_bytes">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_byte_buf-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#858-863">source</a></span><a href="#method.deserialize_byte_buf-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_byte_buf" class="fnname">deserialize_byte_buf</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a byte array and would
benefit from taking ownership of buffered data owned by the
<code>Deserializer</code>. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_byte_buf">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_unit-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#865-873">source</a></span><a href="#method.deserialize_unit-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_unit" class="fnname">deserialize_unit</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a unit value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_unit_struct-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#875-880">source</a></span><a href="#method.deserialize_unit_struct-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_unit_struct" class="fnname">deserialize_unit_struct</a><V>(<br> self, <br> _name: &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a unit struct with a
particular name. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_unit_struct">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_seq-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#882-890">source</a></span><a href="#method.deserialize_seq-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_seq" class="fnname">deserialize_seq</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a sequence of values.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_tuple-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#892-897">source</a></span><a href="#method.deserialize_tuple-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple" class="fnname">deserialize_tuple</a><V>(<br> self, <br> _len: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a sequence of values and
knows how many values there are without looking at the serialized data. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_tuple_struct-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#899-909">source</a></span><a href="#method.deserialize_tuple_struct-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct" class="fnname">deserialize_tuple_struct</a><V>(<br> self, <br> _name: &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> _len: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a tuple struct with a
particular name and number of fields. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_tuple_struct">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_map-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#911-919">source</a></span><a href="#method.deserialize_map-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_map" class="fnname">deserialize_map</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a map of key-value pairs.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_struct-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#921-935">source</a></span><a href="#method.deserialize_struct-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_struct" class="fnname">deserialize_struct</a><V>(<br> self, <br> _name: &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> _fields: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'static [</a>&'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br> visitor: V<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting a struct with a particular
name and fields. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_struct">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_identifier-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#937-942">source</a></span><a href="#method.deserialize_identifier-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_identifier" class="fnname">deserialize_identifier</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type is expecting the name of a struct
field or the discriminant of an enum variant. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_identifier">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize_ignored_any-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#944-949">source</a></span><a href="#method.deserialize_ignored_any-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_ignored_any" class="fnname">deserialize_ignored_any</a><V>(self, visitor: V) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><V::<a class="associatedtype" href="../../serde/de/trait.Visitor.html#associatedtype.Value" title="type serde::de::Visitor::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../serde/de/trait.Visitor.html" title="trait serde::de::Visitor">Visitor</a><'de>, </span></h4></section></summary><div class='docblock'><p>Hint that the <code>Deserialize</code> type needs to deserialize a value whose type
doesn’t matter because it is ignored. <a href="../../serde/de/trait.Deserializer.html#tymethod.deserialize_ignored_any">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_human_readable-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde/de/mod.rs.html#1215">source</a></span><a href="#method.is_human_readable-1" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.Deserializer.html#method.is_human_readable" class="fnname">is_human_readable</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>Determine whether <code>Deserialize</code> implementations should expect to
deserialize their human-readable form. <a href="../../serde/de/trait.Deserializer.html#method.is_human_readable">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Display" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#198-258">source</a></span><a href="#impl-Display" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#223-257">source</a></span><a href="#method.fmt-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>Display a JSON value as a string.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">json</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"city"</span>: <span class="string">"London"</span>, <span class="string">"street"</span>: <span class="string">"10 Downing Street"</span> });
<span class="comment">// Compact format:</span>
<span class="comment">//</span>
<span class="comment">// {"city":"London","street":"10 Downing Street"}</span>
<span class="kw">let</span> <span class="ident">compact</span> <span class="op">=</span> <span class="macro">format!</span>(<span class="string">"{}"</span>, <span class="ident">json</span>);
<span class="macro">assert_eq!</span>(<span class="ident">compact</span>,
<span class="string">"{\"city\":\"London\",\"street\":\"10 Downing Street\"}"</span>);
<span class="comment">// Pretty format:</span>
<span class="comment">//</span>
<span class="comment">// {</span>
<span class="comment">// "city": "London",</span>
<span class="comment">// "street": "10 Downing Street"</span>
<span class="comment">// }</span>
<span class="kw">let</span> <span class="ident">pretty</span> <span class="op">=</span> <span class="macro">format!</span>(<span class="string">"{:#}"</span>, <span class="ident">json</span>);
<span class="macro">assert_eq!</span>(<span class="ident">pretty</span>,
<span class="string">"{\n \"city\": \"London\",\n \"street\": \"10 Downing Street\"\n}"</span>);</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%26%27a%20%5BT%5D%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#190-204">source</a></span><a href="#impl-From%3C%26%27a%20%5BT%5D%3E" class="anchor"></a><h3 class="code-header in-band">impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [T]</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-19" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#201-203">source</a></span><a href="#method.from-19" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(f: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [T]</a>) -> Self</h4></section></summary><div class="docblock"><p>Convert a slice to <code>Value</code></p>
<h5 id="examples-11"><a href="#examples-11">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">v</span>: <span class="kw-2">&</span>[<span class="kw-2">&</span><span class="ident">str</span>] <span class="op">=</span> <span class="kw-2">&</span>[<span class="string">"lorem"</span>, <span class="string">"ipsum"</span>, <span class="string">"dolor"</span>];
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">v</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%26%27a%20str%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#100-114">source</a></span><a href="#impl-From%3C%26%27a%20str%3E" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-14" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#111-113">source</a></span><a href="#method.from-14" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(f: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> Self</h4></section></summary><div class="docblock"><p>Convert string slice to <code>Value</code></p>
<h5 id="examples-6"><a href="#examples-6">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">s</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">"lorem"</span>;
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">s</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C()%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#256-270">source</a></span><a href="#impl-From%3C()%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-20" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#267-269">source</a></span><a href="#method.from-20" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>((): <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -> Self</h4></section></summary><div class="docblock"><p>Convert <code>()</code> to <code>Value</code></p>
<h5 id="examples-14"><a href="#examples-14">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">u</span> <span class="op">=</span> ();
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">u</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CCow%3C%27a%2C%20str%3E%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#116-139">source</a></span><a href="#impl-From%3CCow%3C%27a%2C%20str%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-15" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#136-138">source</a></span><a href="#method.from-15" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(f: <a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>) -> Self</h4></section></summary><div class="docblock"><p>Convert copy-on-write string to <code>Value</code></p>
<h5 id="examples-7"><a href="#examples-7">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">use</span> <span class="ident">std::borrow::Cow</span>;
<span class="kw">let</span> <span class="ident">s</span>: <span class="ident">Cow</span><span class="op"><</span><span class="ident">str</span><span class="op">></span> <span class="op">=</span> <span class="ident">Cow::Borrowed</span>(<span class="string">"lorem"</span>);
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">s</span>.<span class="ident">into</span>();</code></pre></div>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">use</span> <span class="ident">std::borrow::Cow</span>;
<span class="kw">let</span> <span class="ident">s</span>: <span class="ident">Cow</span><span class="op"><</span><span class="ident">str</span><span class="op">></span> <span class="op">=</span> <span class="ident">Cow::Owned</span>(<span class="string">"lorem"</span>.<span class="ident">to_string</span>());
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">s</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CMap%3CString%2C%20Value%3E%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#157-172">source</a></span><a href="#impl-From%3CMap%3CString%2C%20Value%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-17" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#169-171">source</a></span><a href="#method.from-17" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(f: <a class="struct" href="../struct.Map.html" title="struct serde_json::Map">Map</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>) -> Self</h4></section></summary><div class="docblock"><p>Convert map (with string keys) to <code>Value</code></p>
<h5 id="examples-9"><a href="#examples-9">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json</span>::{<span class="ident">Map</span>, <span class="ident">Value</span>};
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">m</span> <span class="op">=</span> <span class="ident">Map::new</span>();
<span class="ident">m</span>.<span class="ident">insert</span>(<span class="string">"Lorem"</span>.<span class="ident">to_string</span>(), <span class="string">"ipsum"</span>.<span class="ident">into</span>());
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">m</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNumber%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#141-155">source</a></span><a href="#impl-From%3CNumber%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Number.html" title="struct serde_json::value::Number">Number</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-16" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#152-154">source</a></span><a href="#method.from-16" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(f: <a class="struct" href="struct.Number.html" title="struct serde_json::value::Number">Number</a>) -> Self</h4></section></summary><div class="docblock"><p>Convert <code>Number</code> to <code>Value</code></p>
<h5 id="examples-8"><a href="#examples-8">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json</span>::{<span class="ident">Number</span>, <span class="ident">Value</span>};
<span class="kw">let</span> <span class="ident">n</span> <span class="op">=</span> <span class="ident">Number::from</span>(<span class="number">7</span>);
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">n</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CString%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#84-98">source</a></span><a href="#impl-From%3CString%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-13" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#95-97">source</a></span><a href="#method.from-13" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(f: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -> Self</h4></section></summary><div class="docblock"><p>Convert <code>String</code> to <code>Value</code></p>
<h5 id="examples-5"><a href="#examples-5">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">s</span>: <span class="ident">String</span> <span class="op">=</span> <span class="string">"lorem"</span>.<span class="ident">to_string</span>();
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">s</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CVec%3CT%2C%20Global%3E%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#174-188">source</a></span><a href="#impl-From%3CVec%3CT%2C%20Global%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-18" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#185-187">source</a></span><a href="#method.from-18" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(f: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T>) -> Self</h4></section></summary><div class="docblock"><p>Convert a <code>Vec</code> to <code>Value</code></p>
<h5 id="examples-10"><a href="#examples-10">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="macro">vec!</span>[<span class="string">"lorem"</span>, <span class="string">"ipsum"</span>, <span class="string">"dolor"</span>];
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">v</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cbool%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#68-82">source</a></span><a href="#impl-From%3Cbool%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-12" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#79-81">source</a></span><a href="#method.from-12" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(f: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> Self</h4></section></summary><div class="docblock"><p>Convert boolean to <code>Value</code></p>
<h5 id="examples-4"><a href="#examples-4">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">b</span> <span class="op">=</span> <span class="bool-val">false</span>;
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">b</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cf32%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#36-50">source</a></span><a href="#impl-From%3Cf32%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-10" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#47-49">source</a></span><a href="#method.from-10" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(f: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> Self</h4></section></summary><div class="docblock"><p>Convert 32-bit floating point number to <code>Value</code></p>
<h5 id="examples-2"><a href="#examples-2">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">f</span>: <span class="ident">f32</span> <span class="op">=</span> <span class="number">13.37</span>;
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">f</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cf64%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#52-66">source</a></span><a href="#impl-From%3Cf64%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-11" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#63-65">source</a></span><a href="#method.from-11" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(f: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> Self</h4></section></summary><div class="docblock"><p>Convert 64-bit floating point number to <code>Value</code></p>
<h5 id="examples-3"><a href="#examples-3">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">f</span>: <span class="ident">f64</span> <span class="op">=</span> <span class="number">13.37</span>;
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">f</span>.<span class="ident">into</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Ci16%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#impl-From%3Ci16%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#method.from-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Ci32%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#impl-From%3Ci32%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#method.from-2" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Ci64%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#impl-From%3Ci64%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#method.from-3" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Ci8%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#impl-From%3Ci8%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cisize%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#impl-From%3Cisize%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#method.from-4" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cu16%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#impl-From%3Cu16%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-6" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#method.from-6" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cu32%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#impl-From%3Cu32%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-7" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#method.from-7" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cu64%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#impl-From%3Cu64%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-8" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#method.from-8" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cu8%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#impl-From%3Cu8%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-5" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#method.from-5" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cusize%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#impl-From%3Cusize%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-9" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#24-27">source</a></span><a href="#method.from-9" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-FromIterator%3C(K%2C%20V)%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#236-254">source</a></span><a href="#impl-FromIterator%3C(K%2C%20V)%3E" class="anchor"></a><h3 class="code-header in-band">impl<K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>, V: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.FromIterator.html" title="trait core::iter::traits::collect::FromIterator">FromIterator</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>K, V<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_iter-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#247-253">source</a></span><a href="#method.from_iter-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter" class="fnname">from_iter</a><I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>K, V<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>>>(iter: I) -> Self</h4></section></summary><div class="docblock"><p>Convert an iteratable type to a <code>Value</code></p>
<h5 id="examples-13"><a href="#examples-13">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">v</span>: <span class="ident">Vec</span><span class="op"><</span><span class="kw">_</span><span class="op">></span> <span class="op">=</span> <span class="macro">vec!</span>[(<span class="string">"lorem"</span>, <span class="number">40</span>), (<span class="string">"ipsum"</span>, <span class="number">2</span>)];
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">v</span>.<span class="ident">into_iter</span>().<span class="ident">collect</span>();</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-FromIterator%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#206-234">source</a></span><a href="#impl-FromIterator%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.FromIterator.html" title="trait core::iter::traits::collect::FromIterator">FromIterator</a><T> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_iter" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/from.rs.html#231-233">source</a></span><a href="#method.from_iter" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter" class="fnname">from_iter</a><I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = T>>(iter: I) -> Self</h4></section></summary><div class="docblock"><p>Convert an iteratable type to a <code>Value</code></p>
<h5 id="examples-12"><a href="#examples-12">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">v</span> <span class="op">=</span> <span class="ident">std::iter::repeat</span>(<span class="number">42</span>).<span class="ident">take</span>(<span class="number">5</span>);
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">v</span>.<span class="ident">collect</span>();</code></pre></div>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">v</span>: <span class="ident">Vec</span><span class="op"><</span><span class="kw">_</span><span class="op">></span> <span class="op">=</span> <span class="macro">vec!</span>[<span class="string">"lorem"</span>, <span class="string">"ipsum"</span>, <span class="string">"dolor"</span>];
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">v</span>.<span class="ident">into_iter</span>().<span class="ident">collect</span>();</code></pre></div>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use</span> <span class="ident">std::iter::FromIterator</span>;
<span class="kw">use</span> <span class="ident">serde_json::Value</span>;
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">Value</span> <span class="op">=</span> <span class="ident">Value::from_iter</span>(<span class="macro">vec!</span>[<span class="string">"lorem"</span>, <span class="string">"ipsum"</span>, <span class="string">"dolor"</span>]);</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-FromStr" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#139-144">source</a></span><a href="#impl-FromStr" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html" title="trait core::str::traits::FromStr">FromStr</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Err" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Err" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#associatedtype.Err" class="associatedtype">Err</a> = <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a></h4></section></summary><div class='docblock'><p>The associated error which can be returned from parsing.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_str" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#141-143">source</a></span><a href="#method.from_str" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str" class="fnname">from_str</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>></h4></section></summary><div class='docblock'><p>Parses a string <code>s</code> to return a value of this type. <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Index%3CI%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/index.rs.html#178-216">source</a></span><a href="#impl-Index%3CI%3E" class="anchor"></a><h3 class="code-header in-band">impl<I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html" title="trait core::ops::index::Index">Index</a><I> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a> <span class="where fmt-newline">where<br> I: <a class="trait" href="trait.Index.html" title="trait serde_json::value::Index">Index</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.index" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/index.rs.html#212-215">source</a></span><a href="#method.index" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#tymethod.index" class="fnname">index</a>(&self, index: I) -> &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class="docblock"><p>Index into a <code>serde_json::Value</code> using the syntax <code>value[0]</code> or
<code>value["k"]</code>.</p>
<p>Returns <code>Value::Null</code> if the type of <code>self</code> does not match the type of
the index, for example if the index is a string and <code>self</code> is an array
or a number. Also returns <code>Value::Null</code> if the given key does not exist
in the map or the given index is not within the bounds of the array.</p>
<p>For retrieving deeply nested values, you should have a look at the
<code>Value::pointer</code> method.</p>
<h5 id="examples-15"><a href="#examples-15">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="ident">data</span> <span class="op">=</span> <span class="macro">json!</span>({
<span class="string">"x"</span>: {
<span class="string">"y"</span>: [<span class="string">"z"</span>, <span class="string">"zz"</span>]
}
});
<span class="macro">assert_eq!</span>(<span class="ident">data</span>[<span class="string">"x"</span>][<span class="string">"y"</span>], <span class="macro">json!</span>([<span class="string">"z"</span>, <span class="string">"zz"</span>]));
<span class="macro">assert_eq!</span>(<span class="ident">data</span>[<span class="string">"x"</span>][<span class="string">"y"</span>][<span class="number">0</span>], <span class="macro">json!</span>(<span class="string">"z"</span>));
<span class="macro">assert_eq!</span>(<span class="ident">data</span>[<span class="string">"a"</span>], <span class="macro">json!</span>(<span class="ident">null</span>)); <span class="comment">// returns null for undefined values</span>
<span class="macro">assert_eq!</span>(<span class="ident">data</span>[<span class="string">"a"</span>][<span class="string">"b"</span>], <span class="macro">json!</span>(<span class="ident">null</span>)); <span class="comment">// does not panic</span></code></pre></div>
</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class='docblock'><p>The returned type after indexing.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-IndexMut%3CI%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/index.rs.html#218-258">source</a></span><a href="#impl-IndexMut%3CI%3E" class="anchor"></a><h3 class="code-header in-band">impl<I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html" title="trait core::ops::index::IndexMut">IndexMut</a><I> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a> <span class="where fmt-newline">where<br> I: <a class="trait" href="trait.Index.html" title="trait serde_json::value::Index">Index</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.index_mut" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/index.rs.html#255-257">source</a></span><a href="#method.index_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html#tymethod.index_mut" class="fnname">index_mut</a>(&mut self, index: I) -> &mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class="docblock"><p>Write into a <code>serde_json::Value</code> using the syntax <code>value[0] = ...</code> or
<code>value["k"] = ...</code>.</p>
<p>If the index is a number, the value must be an array of length bigger
than the index. Indexing into a value that is not an array or an array
that is too small will panic.</p>
<p>If the index is a string, the value must be an object or null which is
treated like an empty object. If the key is not already present in the
object, it will be inserted with a value of null. Indexing into a value
that is neither an object nor null will panic.</p>
<h5 id="examples-16"><a href="#examples-16">Examples</a></h5>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">data</span> <span class="op">=</span> <span class="macro">json!</span>({ <span class="string">"x"</span>: <span class="number">0</span> });
<span class="comment">// replace an existing key</span>
<span class="ident">data</span>[<span class="string">"x"</span>] <span class="op">=</span> <span class="macro">json!</span>(<span class="number">1</span>);
<span class="comment">// insert a new key</span>
<span class="ident">data</span>[<span class="string">"y"</span>] <span class="op">=</span> <span class="macro">json!</span>([<span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">false</span>]);
<span class="comment">// replace an array value</span>
<span class="ident">data</span>[<span class="string">"y"</span>][<span class="number">0</span>] <span class="op">=</span> <span class="macro">json!</span>(<span class="bool-val">true</span>);
<span class="comment">// inserted a deeply nested key</span>
<span class="ident">data</span>[<span class="string">"a"</span>][<span class="string">"b"</span>][<span class="string">"c"</span>][<span class="string">"d"</span>] <span class="op">=</span> <span class="macro">json!</span>(<span class="bool-val">true</span>);
<span class="macro">println!</span>(<span class="string">"{}"</span>, <span class="ident">data</span>);</code></pre></div>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-IntoDeserializer%3C%27de%2C%20Error%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#480-486">source</a></span><a href="#impl-IntoDeserializer%3C%27de%2C%20Error%3E" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="../../serde/de/trait.IntoDeserializer.html" title="trait serde::de::IntoDeserializer">IntoDeserializer</a><'de, <a class="struct" href="../struct.Error.html" title="struct serde_json::Error">Error</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Deserializer" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Deserializer" class="anchor"></a><h4 class="code-header">type <a href="../../serde/de/trait.IntoDeserializer.html#associatedtype.Deserializer" class="associatedtype">Deserializer</a> = <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h4></section></summary><div class='docblock'><p>The type of the deserializer being converted into.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into_deserializer" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/de.rs.html#483-485">source</a></span><a href="#method.into_deserializer" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/de/trait.IntoDeserializer.html#tymethod.into_deserializer" class="fnname">into_deserializer</a>(self) -> Self::<a class="associatedtype" href="../../serde/de/trait.IntoDeserializer.html#associatedtype.Deserializer" title="type serde::de::IntoDeserializer::Deserializer">Deserializer</a></h4></section></summary><div class='docblock'><p>Convert this value into a deserializer.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3C%26%27a%20str%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#30-34">source</a></span><a href="#impl-PartialEq%3C%26%27a%20str%3E" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-2" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#31-33">source</a></span><a href="#method.eq-2" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-2" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-2" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CString%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#48-52">source</a></span><a href="#impl-PartialEq%3CString%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-5" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#49-51">source</a></span><a href="#method.eq-5" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-5" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-5" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#114">source</a></span><a href="#impl-PartialEq%3CValue%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#114">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#114">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#36-40">source</a></span><a href="#impl-PartialEq%3CValue%3E-1" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-3" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#37-39">source</a></span><a href="#method.eq-3" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-3" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-3" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-10" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-10" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-32" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-32" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-32" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-32" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-11" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-11" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-36" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-36" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-36" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-36" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-12" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-12" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-40" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-40" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-40" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-40" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-13" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-13" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-44" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-44" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-44" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-44" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-14" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-14" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-48" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-48" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-48" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-48" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-15" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-15" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-52" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-52" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-52" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-52" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-16" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-16" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-56" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-56" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-56" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-56" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#42-46">source</a></span><a href="#impl-PartialEq%3CValue%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-4" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#43-45">source</a></span><a href="#method.eq-4" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-4" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-4" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-3" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#54-58">source</a></span><a href="#impl-PartialEq%3CValue%3E-3" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-6" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#55-57">source</a></span><a href="#method.eq-6" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-6" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-6" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-4" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-4" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-8" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-8" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-8" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-8" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-5" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-5" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-12" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-12" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-12" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-12" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-6" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-6" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-16" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-16" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-16" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-16" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-7" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-7" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-20" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-20" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-20" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-20" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-8" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-8" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-24" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-24" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-24" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-24" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CValue%3E-9" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3CValue%3E-9" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-28" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-28" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-28" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-28" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cbool%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cbool%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-55" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-55" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-55" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-55" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cbool%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cbool%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-57" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-57" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-57" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-57" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cbool%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cbool%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-58" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-58" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-58" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-58" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cf32%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cf32%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-47" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-47" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-47" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-47" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cf32%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cf32%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-49" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-49" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-49" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-49" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cf32%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cf32%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-50" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-50" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-50" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-50" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cf64%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cf64%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-51" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-51" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-51" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-51" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cf64%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cf64%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-53" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-53" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-53" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-53" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cf64%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cf64%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-54" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-54" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-54" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-54" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci16%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci16%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-11" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-11" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-11" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-11" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci16%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci16%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-13" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-13" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-13" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-13" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci16%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci16%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-14" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-14" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-14" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-14" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci32%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci32%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-15" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-15" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-15" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-15" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci32%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci32%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-17" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-17" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-17" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-17" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci32%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci32%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-18" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-18" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-18" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-18" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci64%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci64%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-19" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-19" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-19" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-19" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci64%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci64%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-21" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-21" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-21" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-21" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci64%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci64%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-22" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-22" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-22" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-22" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci8%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci8%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-7" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-7" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-7" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-7" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci8%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci8%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-9" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-9" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-9" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-9" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci8%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Ci8%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-10" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-10" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-10" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-10" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cisize%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cisize%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-23" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-23" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-23" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-23" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cisize%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cisize%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-25" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-25" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-25" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-25" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cisize%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cisize%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-26" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-26" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-26" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-26" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cstr%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#24-28">source</a></span><a href="#impl-PartialEq%3Cstr%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#25-27">source</a></span><a href="#method.eq-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-1" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu16%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu16%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-31" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-31" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-31" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-31" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu16%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu16%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-33" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-33" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-33" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-33" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu16%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu16%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-34" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-34" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-34" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-34" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu32%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu32%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-35" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-35" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-35" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-35" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu32%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu32%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-37" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-37" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-37" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-37" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu32%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu32%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-38" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-38" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-38" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-38" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu64%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu64%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-39" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-39" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-39" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-39" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu64%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu64%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-41" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-41" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-41" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-41" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu64%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu64%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-42" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-42" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-42" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-42" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu8%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu8%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-27" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-27" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-27" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-27" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu8%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu8%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-29" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-29" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-29" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-29" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu8%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cu8%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-30" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-30" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-30" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-30" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cusize%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cusize%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-43" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-43" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-43" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-43" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cusize%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cusize%3E-1" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for &'a <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-45" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-45" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-45" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-45" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cusize%3E-2" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#impl-PartialEq%3Cusize%3E-2" class="anchor"></a><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for &'a mut <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq-46" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/partial_eq.rs.html#90-95">source</a></span><a href="#method.eq-46" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne-46" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#230">source</a></span><a href="#method.ne-46" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Serialize" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/ser.rs.html#15-38">source</a></span><a href="#impl-Serialize" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/ser.rs.html#17-37">source</a></span><a href="#method.serialize" class="anchor"></a><h4 class="code-header">fn <a href="../../serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a><S>(&self, serializer: S) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><S::<a class="associatedtype" href="../../serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, S::<a class="associatedtype" href="../../serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>, </span></h4></section></summary><div class='docblock'><p>Serialize this value into the given Serde serializer. <a href="../../serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
</div></details></div></details><section id="impl-Eq" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#114">source</a></span><a href="#impl-Eq" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-StructuralEq" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#114">source</a></span><a href="#impl-StructuralEq" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralEq.html" title="trait core::marker::StructuralEq">StructuralEq</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-StructuralPartialEq" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde_json/value/mod.rs.html#114">source</a></span><a href="#impl-StructuralPartialEq" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../enum.Value.html" title="enum serde_json::Value">Value</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-From%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#557-562">source</a></span><a href="#impl-From%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-21" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#559">source</a></span><a href="#method.from-21" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#541-552">source</a></span><a href="#impl-Into%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#549">source</a></span><a href="#method.into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="From">From</a><T> for U</code> chooses to do.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToOwned" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#84-96">source</a></span><a href="#impl-ToOwned" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Owned" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89">source</a></span><a href="#method.to_owned" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fnname">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#93">source</a></span><a href="#method.clone_into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fnname">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</div></span><div class='docblock'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToString" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2467-2481">source</a></span><a href="#impl-ToString" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_string" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2473">source</a></span><a href="#method.to_string" class="anchor"></a><h4 class="code-header">default fn <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string" class="fnname">to_string</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class='docblock'><p>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#598-607">source</a></span><a href="#impl-TryFrom%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-2" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#604">source</a></span><a href="#method.try_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fnname">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#583-592">source</a></span><a href="#impl-TryInto%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error-3" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-3" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#589">source</a></span><a href="#method.try_into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fnname">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><section id="impl-DeserializeOwned" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/serde/de/mod.rs.html#605">source</a></span><a href="#impl-DeserializeOwned" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="../../serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T <span class="where fmt-newline">where<br> T: for<'de> <a class="trait" href="../../serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>, </span></h3></section></div></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="serde_json" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0-nightly (de1bc0008 2022-04-21)" ></div>
</body></html>