|
|
@@ -1,11 +1,12 @@
|
|
1
|
|
-// This file is generated by rust-protobuf 2.10.1. Do not edit
|
|
|
1
|
+// This file is generated by rust-protobuf 2.17.0. Do not edit
|
|
2
|
2
|
// @generated
|
|
3
|
3
|
|
|
4
|
4
|
// https://github.com/rust-lang/rust-clippy/issues/702
|
|
5
|
5
|
#![allow(unknown_lints)]
|
|
6
|
6
|
#![allow(clippy::all)]
|
|
7
|
7
|
|
|
8
|
|
-#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
|
8
|
+#![allow(unused_attributes)]
|
|
|
9
|
+#![rustfmt::skip]
|
|
9
|
10
|
|
|
10
|
11
|
#![allow(box_pointers)]
|
|
11
|
12
|
#![allow(dead_code)]
|
|
|
@@ -14,24 +15,20 @@
|
|
14
|
15
|
#![allow(non_snake_case)]
|
|
15
|
16
|
#![allow(non_upper_case_globals)]
|
|
16
|
17
|
#![allow(trivial_casts)]
|
|
17
|
|
-#![allow(unsafe_code)]
|
|
18
|
18
|
#![allow(unused_imports)]
|
|
19
|
19
|
#![allow(unused_results)]
|
|
20
|
20
|
//! Generated file from `src/proto/osmformat.proto`
|
|
21
|
21
|
|
|
22
|
|
-use protobuf::Message as Message_imported_for_functions;
|
|
23
|
|
-use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
|
|
24
|
|
-
|
|
25
|
22
|
/// Generated files are compatible only with the same version
|
|
26
|
23
|
/// of protobuf runtime.
|
|
27
|
|
-// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_10_1;
|
|
|
24
|
+// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_17_0;
|
|
28
|
25
|
|
|
29
|
26
|
#[derive(PartialEq,Clone,Default,Debug)]
|
|
30
|
27
|
pub struct HeaderBlock {
|
|
31
|
28
|
// message fields
|
|
32
|
|
- bbox: ::protobuf::SingularPtrField<HeaderBBox>,
|
|
33
|
|
- required_features: ::protobuf::RepeatedField<::std::string::String>,
|
|
34
|
|
- optional_features: ::protobuf::RepeatedField<::std::string::String>,
|
|
|
29
|
+ pub bbox: ::protobuf::SingularPtrField<HeaderBBox>,
|
|
|
30
|
+ pub required_features: ::protobuf::RepeatedField<::std::string::String>,
|
|
|
31
|
+ pub optional_features: ::protobuf::RepeatedField<::std::string::String>,
|
|
35
|
32
|
writingprogram: ::protobuf::SingularField<::std::string::String>,
|
|
36
|
33
|
source: ::protobuf::SingularField<::std::string::String>,
|
|
37
|
34
|
osmosis_replication_timestamp: ::std::option::Option<i64>,
|
|
|
@@ -57,7 +54,7 @@ impl HeaderBlock {
|
|
57
|
54
|
|
|
58
|
55
|
|
|
59
|
56
|
pub fn get_bbox(&self) -> &HeaderBBox {
|
|
60
|
|
- self.bbox.as_ref().unwrap_or_else(|| HeaderBBox::default_instance())
|
|
|
57
|
+ self.bbox.as_ref().unwrap_or_else(|| <HeaderBBox as ::protobuf::Message>::default_instance())
|
|
61
|
58
|
}
|
|
62
|
59
|
pub fn clear_bbox(&mut self) {
|
|
63
|
60
|
self.bbox.clear();
|
|
|
@@ -420,7 +417,7 @@ impl ::protobuf::Message for HeaderBlock {
|
|
420
|
417
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
421
|
418
|
self as &mut dyn (::std::any::Any)
|
|
422
|
419
|
}
|
|
423
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
420
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
424
|
421
|
self
|
|
425
|
422
|
}
|
|
426
|
423
|
|
|
|
@@ -433,13 +430,8 @@ impl ::protobuf::Message for HeaderBlock {
|
|
433
|
430
|
}
|
|
434
|
431
|
|
|
435
|
432
|
fn default_instance() -> &'static HeaderBlock {
|
|
436
|
|
- static mut instance: ::protobuf::lazy::Lazy<HeaderBlock> = ::protobuf::lazy::Lazy {
|
|
437
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
438
|
|
- ptr: 0 as *const HeaderBlock,
|
|
439
|
|
- };
|
|
440
|
|
- unsafe {
|
|
441
|
|
- instance.get(HeaderBlock::new)
|
|
442
|
|
- }
|
|
|
433
|
+ static instance: ::protobuf::rt::LazyV2<HeaderBlock> = ::protobuf::rt::LazyV2::INIT;
|
|
|
434
|
+ instance.get(HeaderBlock::new)
|
|
443
|
435
|
}
|
|
444
|
436
|
}
|
|
445
|
437
|
|
|
|
@@ -458,8 +450,8 @@ impl ::protobuf::Clear for HeaderBlock {
|
|
458
|
450
|
}
|
|
459
|
451
|
|
|
460
|
452
|
impl ::protobuf::reflect::ProtobufValue for HeaderBlock {
|
|
461
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
462
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
453
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
454
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
463
|
455
|
}
|
|
464
|
456
|
}
|
|
465
|
457
|
|
|
|
@@ -676,7 +668,7 @@ impl ::protobuf::Message for HeaderBBox {
|
|
676
|
668
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
677
|
669
|
self as &mut dyn (::std::any::Any)
|
|
678
|
670
|
}
|
|
679
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
671
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
680
|
672
|
self
|
|
681
|
673
|
}
|
|
682
|
674
|
|
|
|
@@ -689,13 +681,8 @@ impl ::protobuf::Message for HeaderBBox {
|
|
689
|
681
|
}
|
|
690
|
682
|
|
|
691
|
683
|
fn default_instance() -> &'static HeaderBBox {
|
|
692
|
|
- static mut instance: ::protobuf::lazy::Lazy<HeaderBBox> = ::protobuf::lazy::Lazy {
|
|
693
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
694
|
|
- ptr: 0 as *const HeaderBBox,
|
|
695
|
|
- };
|
|
696
|
|
- unsafe {
|
|
697
|
|
- instance.get(HeaderBBox::new)
|
|
698
|
|
- }
|
|
|
684
|
+ static instance: ::protobuf::rt::LazyV2<HeaderBBox> = ::protobuf::rt::LazyV2::INIT;
|
|
|
685
|
+ instance.get(HeaderBBox::new)
|
|
699
|
686
|
}
|
|
700
|
687
|
}
|
|
701
|
688
|
|
|
|
@@ -710,16 +697,16 @@ impl ::protobuf::Clear for HeaderBBox {
|
|
710
|
697
|
}
|
|
711
|
698
|
|
|
712
|
699
|
impl ::protobuf::reflect::ProtobufValue for HeaderBBox {
|
|
713
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
714
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
700
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
701
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
715
|
702
|
}
|
|
716
|
703
|
}
|
|
717
|
704
|
|
|
718
|
705
|
#[derive(PartialEq,Clone,Default,Debug)]
|
|
719
|
706
|
pub struct PrimitiveBlock {
|
|
720
|
707
|
// message fields
|
|
721
|
|
- stringtable: ::protobuf::SingularPtrField<StringTable>,
|
|
722
|
|
- primitivegroup: ::protobuf::RepeatedField<PrimitiveGroup>,
|
|
|
708
|
+ pub stringtable: ::protobuf::SingularPtrField<StringTable>,
|
|
|
709
|
+ pub primitivegroup: ::protobuf::RepeatedField<PrimitiveGroup>,
|
|
723
|
710
|
granularity: ::std::option::Option<i32>,
|
|
724
|
711
|
lat_offset: ::std::option::Option<i64>,
|
|
725
|
712
|
lon_offset: ::std::option::Option<i64>,
|
|
|
@@ -744,7 +731,7 @@ impl PrimitiveBlock {
|
|
744
|
731
|
|
|
745
|
732
|
|
|
746
|
733
|
pub fn get_stringtable(&self) -> &StringTable {
|
|
747
|
|
- self.stringtable.as_ref().unwrap_or_else(|| StringTable::default_instance())
|
|
|
734
|
+ self.stringtable.as_ref().unwrap_or_else(|| <StringTable as ::protobuf::Message>::default_instance())
|
|
748
|
735
|
}
|
|
749
|
736
|
pub fn clear_stringtable(&mut self) {
|
|
750
|
737
|
self.stringtable.clear();
|
|
|
@@ -1013,7 +1000,7 @@ impl ::protobuf::Message for PrimitiveBlock {
|
|
1013
|
1000
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
1014
|
1001
|
self as &mut dyn (::std::any::Any)
|
|
1015
|
1002
|
}
|
|
1016
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
1003
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
1017
|
1004
|
self
|
|
1018
|
1005
|
}
|
|
1019
|
1006
|
|
|
|
@@ -1026,13 +1013,8 @@ impl ::protobuf::Message for PrimitiveBlock {
|
|
1026
|
1013
|
}
|
|
1027
|
1014
|
|
|
1028
|
1015
|
fn default_instance() -> &'static PrimitiveBlock {
|
|
1029
|
|
- static mut instance: ::protobuf::lazy::Lazy<PrimitiveBlock> = ::protobuf::lazy::Lazy {
|
|
1030
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
1031
|
|
- ptr: 0 as *const PrimitiveBlock,
|
|
1032
|
|
- };
|
|
1033
|
|
- unsafe {
|
|
1034
|
|
- instance.get(PrimitiveBlock::new)
|
|
1035
|
|
- }
|
|
|
1016
|
+ static instance: ::protobuf::rt::LazyV2<PrimitiveBlock> = ::protobuf::rt::LazyV2::INIT;
|
|
|
1017
|
+ instance.get(PrimitiveBlock::new)
|
|
1036
|
1018
|
}
|
|
1037
|
1019
|
}
|
|
1038
|
1020
|
|
|
|
@@ -1049,19 +1031,19 @@ impl ::protobuf::Clear for PrimitiveBlock {
|
|
1049
|
1031
|
}
|
|
1050
|
1032
|
|
|
1051
|
1033
|
impl ::protobuf::reflect::ProtobufValue for PrimitiveBlock {
|
|
1052
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
1053
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
1034
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
1035
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
1054
|
1036
|
}
|
|
1055
|
1037
|
}
|
|
1056
|
1038
|
|
|
1057
|
1039
|
#[derive(PartialEq,Clone,Default,Debug)]
|
|
1058
|
1040
|
pub struct PrimitiveGroup {
|
|
1059
|
1041
|
// message fields
|
|
1060
|
|
- nodes: ::protobuf::RepeatedField<Node>,
|
|
1061
|
|
- dense: ::protobuf::SingularPtrField<DenseNodes>,
|
|
1062
|
|
- ways: ::protobuf::RepeatedField<Way>,
|
|
1063
|
|
- relations: ::protobuf::RepeatedField<Relation>,
|
|
1064
|
|
- changesets: ::protobuf::RepeatedField<ChangeSet>,
|
|
|
1042
|
+ pub nodes: ::protobuf::RepeatedField<Node>,
|
|
|
1043
|
+ pub dense: ::protobuf::SingularPtrField<DenseNodes>,
|
|
|
1044
|
+ pub ways: ::protobuf::RepeatedField<Way>,
|
|
|
1045
|
+ pub relations: ::protobuf::RepeatedField<Relation>,
|
|
|
1046
|
+ pub changesets: ::protobuf::RepeatedField<ChangeSet>,
|
|
1065
|
1047
|
// special fields
|
|
1066
|
1048
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
1067
|
1049
|
pub cached_size: ::protobuf::CachedSize,
|
|
|
@@ -1107,7 +1089,7 @@ impl PrimitiveGroup {
|
|
1107
|
1089
|
|
|
1108
|
1090
|
|
|
1109
|
1091
|
pub fn get_dense(&self) -> &DenseNodes {
|
|
1110
|
|
- self.dense.as_ref().unwrap_or_else(|| DenseNodes::default_instance())
|
|
|
1092
|
+ self.dense.as_ref().unwrap_or_else(|| <DenseNodes as ::protobuf::Message>::default_instance())
|
|
1111
|
1093
|
}
|
|
1112
|
1094
|
pub fn clear_dense(&mut self) {
|
|
1113
|
1095
|
self.dense.clear();
|
|
|
@@ -1346,7 +1328,7 @@ impl ::protobuf::Message for PrimitiveGroup {
|
|
1346
|
1328
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
1347
|
1329
|
self as &mut dyn (::std::any::Any)
|
|
1348
|
1330
|
}
|
|
1349
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
1331
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
1350
|
1332
|
self
|
|
1351
|
1333
|
}
|
|
1352
|
1334
|
|
|
|
@@ -1359,13 +1341,8 @@ impl ::protobuf::Message for PrimitiveGroup {
|
|
1359
|
1341
|
}
|
|
1360
|
1342
|
|
|
1361
|
1343
|
fn default_instance() -> &'static PrimitiveGroup {
|
|
1362
|
|
- static mut instance: ::protobuf::lazy::Lazy<PrimitiveGroup> = ::protobuf::lazy::Lazy {
|
|
1363
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
1364
|
|
- ptr: 0 as *const PrimitiveGroup,
|
|
1365
|
|
- };
|
|
1366
|
|
- unsafe {
|
|
1367
|
|
- instance.get(PrimitiveGroup::new)
|
|
1368
|
|
- }
|
|
|
1344
|
+ static instance: ::protobuf::rt::LazyV2<PrimitiveGroup> = ::protobuf::rt::LazyV2::INIT;
|
|
|
1345
|
+ instance.get(PrimitiveGroup::new)
|
|
1369
|
1346
|
}
|
|
1370
|
1347
|
}
|
|
1371
|
1348
|
|
|
|
@@ -1381,15 +1358,15 @@ impl ::protobuf::Clear for PrimitiveGroup {
|
|
1381
|
1358
|
}
|
|
1382
|
1359
|
|
|
1383
|
1360
|
impl ::protobuf::reflect::ProtobufValue for PrimitiveGroup {
|
|
1384
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
1385
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
1361
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
1362
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
1386
|
1363
|
}
|
|
1387
|
1364
|
}
|
|
1388
|
1365
|
|
|
1389
|
1366
|
#[derive(PartialEq,Clone,Default,Debug)]
|
|
1390
|
1367
|
pub struct StringTable {
|
|
1391
|
1368
|
// message fields
|
|
1392
|
|
- s: ::protobuf::RepeatedField<::std::vec::Vec<u8>>,
|
|
|
1369
|
+ pub s: ::protobuf::RepeatedField<::std::vec::Vec<u8>>,
|
|
1393
|
1370
|
// special fields
|
|
1394
|
1371
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
1395
|
1372
|
pub cached_size: ::protobuf::CachedSize,
|
|
|
@@ -1490,7 +1467,7 @@ impl ::protobuf::Message for StringTable {
|
|
1490
|
1467
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
1491
|
1468
|
self as &mut dyn (::std::any::Any)
|
|
1492
|
1469
|
}
|
|
1493
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
1470
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
1494
|
1471
|
self
|
|
1495
|
1472
|
}
|
|
1496
|
1473
|
|
|
|
@@ -1503,13 +1480,8 @@ impl ::protobuf::Message for StringTable {
|
|
1503
|
1480
|
}
|
|
1504
|
1481
|
|
|
1505
|
1482
|
fn default_instance() -> &'static StringTable {
|
|
1506
|
|
- static mut instance: ::protobuf::lazy::Lazy<StringTable> = ::protobuf::lazy::Lazy {
|
|
1507
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
1508
|
|
- ptr: 0 as *const StringTable,
|
|
1509
|
|
- };
|
|
1510
|
|
- unsafe {
|
|
1511
|
|
- instance.get(StringTable::new)
|
|
1512
|
|
- }
|
|
|
1483
|
+ static instance: ::protobuf::rt::LazyV2<StringTable> = ::protobuf::rt::LazyV2::INIT;
|
|
|
1484
|
+ instance.get(StringTable::new)
|
|
1513
|
1485
|
}
|
|
1514
|
1486
|
}
|
|
1515
|
1487
|
|
|
|
@@ -1521,8 +1493,8 @@ impl ::protobuf::Clear for StringTable {
|
|
1521
|
1493
|
}
|
|
1522
|
1494
|
|
|
1523
|
1495
|
impl ::protobuf::reflect::ProtobufValue for StringTable {
|
|
1524
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
1525
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
1496
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
1497
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
1526
|
1498
|
}
|
|
1527
|
1499
|
}
|
|
1528
|
1500
|
|
|
|
@@ -1793,7 +1765,7 @@ impl ::protobuf::Message for Info {
|
|
1793
|
1765
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
1794
|
1766
|
self as &mut dyn (::std::any::Any)
|
|
1795
|
1767
|
}
|
|
1796
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
1768
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
1797
|
1769
|
self
|
|
1798
|
1770
|
}
|
|
1799
|
1771
|
|
|
|
@@ -1806,13 +1778,8 @@ impl ::protobuf::Message for Info {
|
|
1806
|
1778
|
}
|
|
1807
|
1779
|
|
|
1808
|
1780
|
fn default_instance() -> &'static Info {
|
|
1809
|
|
- static mut instance: ::protobuf::lazy::Lazy<Info> = ::protobuf::lazy::Lazy {
|
|
1810
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
1811
|
|
- ptr: 0 as *const Info,
|
|
1812
|
|
- };
|
|
1813
|
|
- unsafe {
|
|
1814
|
|
- instance.get(Info::new)
|
|
1815
|
|
- }
|
|
|
1781
|
+ static instance: ::protobuf::rt::LazyV2<Info> = ::protobuf::rt::LazyV2::INIT;
|
|
|
1782
|
+ instance.get(Info::new)
|
|
1816
|
1783
|
}
|
|
1817
|
1784
|
}
|
|
1818
|
1785
|
|
|
|
@@ -1829,20 +1796,20 @@ impl ::protobuf::Clear for Info {
|
|
1829
|
1796
|
}
|
|
1830
|
1797
|
|
|
1831
|
1798
|
impl ::protobuf::reflect::ProtobufValue for Info {
|
|
1832
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
1833
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
1799
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
1800
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
1834
|
1801
|
}
|
|
1835
|
1802
|
}
|
|
1836
|
1803
|
|
|
1837
|
1804
|
#[derive(PartialEq,Clone,Default,Debug)]
|
|
1838
|
1805
|
pub struct DenseInfo {
|
|
1839
|
1806
|
// message fields
|
|
1840
|
|
- version: ::std::vec::Vec<i32>,
|
|
1841
|
|
- timestamp: ::std::vec::Vec<i64>,
|
|
1842
|
|
- changeset: ::std::vec::Vec<i64>,
|
|
1843
|
|
- uid: ::std::vec::Vec<i32>,
|
|
1844
|
|
- user_sid: ::std::vec::Vec<i32>,
|
|
1845
|
|
- visible: ::std::vec::Vec<bool>,
|
|
|
1807
|
+ pub version: ::std::vec::Vec<i32>,
|
|
|
1808
|
+ pub timestamp: ::std::vec::Vec<i64>,
|
|
|
1809
|
+ pub changeset: ::std::vec::Vec<i64>,
|
|
|
1810
|
+ pub uid: ::std::vec::Vec<i32>,
|
|
|
1811
|
+ pub user_sid: ::std::vec::Vec<i32>,
|
|
|
1812
|
+ pub visible: ::std::vec::Vec<bool>,
|
|
1846
|
1813
|
// special fields
|
|
1847
|
1814
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
1848
|
1815
|
pub cached_size: ::protobuf::CachedSize,
|
|
|
@@ -2143,7 +2110,7 @@ impl ::protobuf::Message for DenseInfo {
|
|
2143
|
2110
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
2144
|
2111
|
self as &mut dyn (::std::any::Any)
|
|
2145
|
2112
|
}
|
|
2146
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
2113
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
2147
|
2114
|
self
|
|
2148
|
2115
|
}
|
|
2149
|
2116
|
|
|
|
@@ -2156,13 +2123,8 @@ impl ::protobuf::Message for DenseInfo {
|
|
2156
|
2123
|
}
|
|
2157
|
2124
|
|
|
2158
|
2125
|
fn default_instance() -> &'static DenseInfo {
|
|
2159
|
|
- static mut instance: ::protobuf::lazy::Lazy<DenseInfo> = ::protobuf::lazy::Lazy {
|
|
2160
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
2161
|
|
- ptr: 0 as *const DenseInfo,
|
|
2162
|
|
- };
|
|
2163
|
|
- unsafe {
|
|
2164
|
|
- instance.get(DenseInfo::new)
|
|
2165
|
|
- }
|
|
|
2126
|
+ static instance: ::protobuf::rt::LazyV2<DenseInfo> = ::protobuf::rt::LazyV2::INIT;
|
|
|
2127
|
+ instance.get(DenseInfo::new)
|
|
2166
|
2128
|
}
|
|
2167
|
2129
|
}
|
|
2168
|
2130
|
|
|
|
@@ -2179,8 +2141,8 @@ impl ::protobuf::Clear for DenseInfo {
|
|
2179
|
2141
|
}
|
|
2180
|
2142
|
|
|
2181
|
2143
|
impl ::protobuf::reflect::ProtobufValue for DenseInfo {
|
|
2182
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
2183
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
2144
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
2145
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
2184
|
2146
|
}
|
|
2185
|
2147
|
}
|
|
2186
|
2148
|
|
|
|
@@ -2289,7 +2251,7 @@ impl ::protobuf::Message for ChangeSet {
|
|
2289
|
2251
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
2290
|
2252
|
self as &mut dyn (::std::any::Any)
|
|
2291
|
2253
|
}
|
|
2292
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
2254
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
2293
|
2255
|
self
|
|
2294
|
2256
|
}
|
|
2295
|
2257
|
|
|
|
@@ -2302,13 +2264,8 @@ impl ::protobuf::Message for ChangeSet {
|
|
2302
|
2264
|
}
|
|
2303
|
2265
|
|
|
2304
|
2266
|
fn default_instance() -> &'static ChangeSet {
|
|
2305
|
|
- static mut instance: ::protobuf::lazy::Lazy<ChangeSet> = ::protobuf::lazy::Lazy {
|
|
2306
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
2307
|
|
- ptr: 0 as *const ChangeSet,
|
|
2308
|
|
- };
|
|
2309
|
|
- unsafe {
|
|
2310
|
|
- instance.get(ChangeSet::new)
|
|
2311
|
|
- }
|
|
|
2267
|
+ static instance: ::protobuf::rt::LazyV2<ChangeSet> = ::protobuf::rt::LazyV2::INIT;
|
|
|
2268
|
+ instance.get(ChangeSet::new)
|
|
2312
|
2269
|
}
|
|
2313
|
2270
|
}
|
|
2314
|
2271
|
|
|
|
@@ -2320,8 +2277,8 @@ impl ::protobuf::Clear for ChangeSet {
|
|
2320
|
2277
|
}
|
|
2321
|
2278
|
|
|
2322
|
2279
|
impl ::protobuf::reflect::ProtobufValue for ChangeSet {
|
|
2323
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
2324
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
2280
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
2281
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
2325
|
2282
|
}
|
|
2326
|
2283
|
}
|
|
2327
|
2284
|
|
|
|
@@ -2329,9 +2286,9 @@ impl ::protobuf::reflect::ProtobufValue for ChangeSet {
|
|
2329
|
2286
|
pub struct Node {
|
|
2330
|
2287
|
// message fields
|
|
2331
|
2288
|
id: ::std::option::Option<i64>,
|
|
2332
|
|
- keys: ::std::vec::Vec<u32>,
|
|
2333
|
|
- vals: ::std::vec::Vec<u32>,
|
|
2334
|
|
- info: ::protobuf::SingularPtrField<Info>,
|
|
|
2289
|
+ pub keys: ::std::vec::Vec<u32>,
|
|
|
2290
|
+ pub vals: ::std::vec::Vec<u32>,
|
|
|
2291
|
+ pub info: ::protobuf::SingularPtrField<Info>,
|
|
2335
|
2292
|
lat: ::std::option::Option<i64>,
|
|
2336
|
2293
|
lon: ::std::option::Option<i64>,
|
|
2337
|
2294
|
// special fields
|
|
|
@@ -2423,7 +2380,7 @@ impl Node {
|
|
2423
|
2380
|
|
|
2424
|
2381
|
|
|
2425
|
2382
|
pub fn get_info(&self) -> &Info {
|
|
2426
|
|
- self.info.as_ref().unwrap_or_else(|| Info::default_instance())
|
|
|
2383
|
+ self.info.as_ref().unwrap_or_else(|| <Info as ::protobuf::Message>::default_instance())
|
|
2427
|
2384
|
}
|
|
2428
|
2385
|
pub fn clear_info(&mut self) {
|
|
2429
|
2386
|
self.info.clear();
|
|
|
@@ -2633,7 +2590,7 @@ impl ::protobuf::Message for Node {
|
|
2633
|
2590
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
2634
|
2591
|
self as &mut dyn (::std::any::Any)
|
|
2635
|
2592
|
}
|
|
2636
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
2593
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
2637
|
2594
|
self
|
|
2638
|
2595
|
}
|
|
2639
|
2596
|
|
|
|
@@ -2646,13 +2603,8 @@ impl ::protobuf::Message for Node {
|
|
2646
|
2603
|
}
|
|
2647
|
2604
|
|
|
2648
|
2605
|
fn default_instance() -> &'static Node {
|
|
2649
|
|
- static mut instance: ::protobuf::lazy::Lazy<Node> = ::protobuf::lazy::Lazy {
|
|
2650
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
2651
|
|
- ptr: 0 as *const Node,
|
|
2652
|
|
- };
|
|
2653
|
|
- unsafe {
|
|
2654
|
|
- instance.get(Node::new)
|
|
2655
|
|
- }
|
|
|
2606
|
+ static instance: ::protobuf::rt::LazyV2<Node> = ::protobuf::rt::LazyV2::INIT;
|
|
|
2607
|
+ instance.get(Node::new)
|
|
2656
|
2608
|
}
|
|
2657
|
2609
|
}
|
|
2658
|
2610
|
|
|
|
@@ -2669,19 +2621,19 @@ impl ::protobuf::Clear for Node {
|
|
2669
|
2621
|
}
|
|
2670
|
2622
|
|
|
2671
|
2623
|
impl ::protobuf::reflect::ProtobufValue for Node {
|
|
2672
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
2673
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
2624
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
2625
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
2674
|
2626
|
}
|
|
2675
|
2627
|
}
|
|
2676
|
2628
|
|
|
2677
|
2629
|
#[derive(PartialEq,Clone,Default,Debug)]
|
|
2678
|
2630
|
pub struct DenseNodes {
|
|
2679
|
2631
|
// message fields
|
|
2680
|
|
- id: ::std::vec::Vec<i64>,
|
|
2681
|
|
- denseinfo: ::protobuf::SingularPtrField<DenseInfo>,
|
|
2682
|
|
- lat: ::std::vec::Vec<i64>,
|
|
2683
|
|
- lon: ::std::vec::Vec<i64>,
|
|
2684
|
|
- keys_vals: ::std::vec::Vec<i32>,
|
|
|
2632
|
+ pub id: ::std::vec::Vec<i64>,
|
|
|
2633
|
+ pub denseinfo: ::protobuf::SingularPtrField<DenseInfo>,
|
|
|
2634
|
+ pub lat: ::std::vec::Vec<i64>,
|
|
|
2635
|
+ pub lon: ::std::vec::Vec<i64>,
|
|
|
2636
|
+ pub keys_vals: ::std::vec::Vec<i32>,
|
|
2685
|
2637
|
// special fields
|
|
2686
|
2638
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
2687
|
2639
|
pub cached_size: ::protobuf::CachedSize,
|
|
|
@@ -2727,7 +2679,7 @@ impl DenseNodes {
|
|
2727
|
2679
|
|
|
2728
|
2680
|
|
|
2729
|
2681
|
pub fn get_denseinfo(&self) -> &DenseInfo {
|
|
2730
|
|
- self.denseinfo.as_ref().unwrap_or_else(|| DenseInfo::default_instance())
|
|
|
2682
|
+ self.denseinfo.as_ref().unwrap_or_else(|| <DenseInfo as ::protobuf::Message>::default_instance())
|
|
2731
|
2683
|
}
|
|
2732
|
2684
|
pub fn clear_denseinfo(&mut self) {
|
|
2733
|
2685
|
self.denseinfo.clear();
|
|
|
@@ -2954,7 +2906,7 @@ impl ::protobuf::Message for DenseNodes {
|
|
2954
|
2906
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
2955
|
2907
|
self as &mut dyn (::std::any::Any)
|
|
2956
|
2908
|
}
|
|
2957
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
2909
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
2958
|
2910
|
self
|
|
2959
|
2911
|
}
|
|
2960
|
2912
|
|
|
|
@@ -2967,13 +2919,8 @@ impl ::protobuf::Message for DenseNodes {
|
|
2967
|
2919
|
}
|
|
2968
|
2920
|
|
|
2969
|
2921
|
fn default_instance() -> &'static DenseNodes {
|
|
2970
|
|
- static mut instance: ::protobuf::lazy::Lazy<DenseNodes> = ::protobuf::lazy::Lazy {
|
|
2971
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
2972
|
|
- ptr: 0 as *const DenseNodes,
|
|
2973
|
|
- };
|
|
2974
|
|
- unsafe {
|
|
2975
|
|
- instance.get(DenseNodes::new)
|
|
2976
|
|
- }
|
|
|
2922
|
+ static instance: ::protobuf::rt::LazyV2<DenseNodes> = ::protobuf::rt::LazyV2::INIT;
|
|
|
2923
|
+ instance.get(DenseNodes::new)
|
|
2977
|
2924
|
}
|
|
2978
|
2925
|
}
|
|
2979
|
2926
|
|
|
|
@@ -2989,8 +2936,8 @@ impl ::protobuf::Clear for DenseNodes {
|
|
2989
|
2936
|
}
|
|
2990
|
2937
|
|
|
2991
|
2938
|
impl ::protobuf::reflect::ProtobufValue for DenseNodes {
|
|
2992
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
2993
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
2939
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
2940
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
2994
|
2941
|
}
|
|
2995
|
2942
|
}
|
|
2996
|
2943
|
|
|
|
@@ -2998,10 +2945,10 @@ impl ::protobuf::reflect::ProtobufValue for DenseNodes {
|
|
2998
|
2945
|
pub struct Way {
|
|
2999
|
2946
|
// message fields
|
|
3000
|
2947
|
id: ::std::option::Option<i64>,
|
|
3001
|
|
- keys: ::std::vec::Vec<u32>,
|
|
3002
|
|
- vals: ::std::vec::Vec<u32>,
|
|
3003
|
|
- info: ::protobuf::SingularPtrField<Info>,
|
|
3004
|
|
- refs: ::std::vec::Vec<i64>,
|
|
|
2948
|
+ pub keys: ::std::vec::Vec<u32>,
|
|
|
2949
|
+ pub vals: ::std::vec::Vec<u32>,
|
|
|
2950
|
+ pub info: ::protobuf::SingularPtrField<Info>,
|
|
|
2951
|
+ pub refs: ::std::vec::Vec<i64>,
|
|
3005
|
2952
|
// special fields
|
|
3006
|
2953
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
3007
|
2954
|
pub cached_size: ::protobuf::CachedSize,
|
|
|
@@ -3091,7 +3038,7 @@ impl Way {
|
|
3091
|
3038
|
|
|
3092
|
3039
|
|
|
3093
|
3040
|
pub fn get_info(&self) -> &Info {
|
|
3094
|
|
- self.info.as_ref().unwrap_or_else(|| Info::default_instance())
|
|
|
3041
|
+ self.info.as_ref().unwrap_or_else(|| <Info as ::protobuf::Message>::default_instance())
|
|
3095
|
3042
|
}
|
|
3096
|
3043
|
pub fn clear_info(&mut self) {
|
|
3097
|
3044
|
self.info.clear();
|
|
|
@@ -3270,7 +3217,7 @@ impl ::protobuf::Message for Way {
|
|
3270
|
3217
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
3271
|
3218
|
self as &mut dyn (::std::any::Any)
|
|
3272
|
3219
|
}
|
|
3273
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
3220
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
3274
|
3221
|
self
|
|
3275
|
3222
|
}
|
|
3276
|
3223
|
|
|
|
@@ -3283,13 +3230,8 @@ impl ::protobuf::Message for Way {
|
|
3283
|
3230
|
}
|
|
3284
|
3231
|
|
|
3285
|
3232
|
fn default_instance() -> &'static Way {
|
|
3286
|
|
- static mut instance: ::protobuf::lazy::Lazy<Way> = ::protobuf::lazy::Lazy {
|
|
3287
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
3288
|
|
- ptr: 0 as *const Way,
|
|
3289
|
|
- };
|
|
3290
|
|
- unsafe {
|
|
3291
|
|
- instance.get(Way::new)
|
|
3292
|
|
- }
|
|
|
3233
|
+ static instance: ::protobuf::rt::LazyV2<Way> = ::protobuf::rt::LazyV2::INIT;
|
|
|
3234
|
+ instance.get(Way::new)
|
|
3293
|
3235
|
}
|
|
3294
|
3236
|
}
|
|
3295
|
3237
|
|
|
|
@@ -3305,8 +3247,8 @@ impl ::protobuf::Clear for Way {
|
|
3305
|
3247
|
}
|
|
3306
|
3248
|
|
|
3307
|
3249
|
impl ::protobuf::reflect::ProtobufValue for Way {
|
|
3308
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
3309
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
3250
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
3251
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
3310
|
3252
|
}
|
|
3311
|
3253
|
}
|
|
3312
|
3254
|
|
|
|
@@ -3314,12 +3256,12 @@ impl ::protobuf::reflect::ProtobufValue for Way {
|
|
3314
|
3256
|
pub struct Relation {
|
|
3315
|
3257
|
// message fields
|
|
3316
|
3258
|
id: ::std::option::Option<i64>,
|
|
3317
|
|
- keys: ::std::vec::Vec<u32>,
|
|
3318
|
|
- vals: ::std::vec::Vec<u32>,
|
|
3319
|
|
- info: ::protobuf::SingularPtrField<Info>,
|
|
3320
|
|
- roles_sid: ::std::vec::Vec<i32>,
|
|
3321
|
|
- memids: ::std::vec::Vec<i64>,
|
|
3322
|
|
- types: ::std::vec::Vec<Relation_MemberType>,
|
|
|
3259
|
+ pub keys: ::std::vec::Vec<u32>,
|
|
|
3260
|
+ pub vals: ::std::vec::Vec<u32>,
|
|
|
3261
|
+ pub info: ::protobuf::SingularPtrField<Info>,
|
|
|
3262
|
+ pub roles_sid: ::std::vec::Vec<i32>,
|
|
|
3263
|
+ pub memids: ::std::vec::Vec<i64>,
|
|
|
3264
|
+ pub types: ::std::vec::Vec<Relation_MemberType>,
|
|
3323
|
3265
|
// special fields
|
|
3324
|
3266
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
3325
|
3267
|
pub cached_size: ::protobuf::CachedSize,
|
|
|
@@ -3409,7 +3351,7 @@ impl Relation {
|
|
3409
|
3351
|
|
|
3410
|
3352
|
|
|
3411
|
3353
|
pub fn get_info(&self) -> &Info {
|
|
3412
|
|
- self.info.as_ref().unwrap_or_else(|| Info::default_instance())
|
|
|
3354
|
+ self.info.as_ref().unwrap_or_else(|| <Info as ::protobuf::Message>::default_instance())
|
|
3413
|
3355
|
}
|
|
3414
|
3356
|
pub fn clear_info(&mut self) {
|
|
3415
|
3357
|
self.info.clear();
|
|
|
@@ -3641,7 +3583,7 @@ impl ::protobuf::Message for Relation {
|
|
3641
|
3583
|
// TODO: Data size is computed again, it should be cached
|
|
3642
|
3584
|
os.write_raw_varint32(::protobuf::rt::vec_packed_enum_data_size(&self.types))?;
|
|
3643
|
3585
|
for v in &self.types {
|
|
3644
|
|
- os.write_enum_no_tag(v.value())?;
|
|
|
3586
|
+ os.write_enum_no_tag(::protobuf::ProtobufEnum::value(v))?;
|
|
3645
|
3587
|
};
|
|
3646
|
3588
|
}
|
|
3647
|
3589
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
|
|
@@ -3666,7 +3608,7 @@ impl ::protobuf::Message for Relation {
|
|
3666
|
3608
|
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
3667
|
3609
|
self as &mut dyn (::std::any::Any)
|
|
3668
|
3610
|
}
|
|
3669
|
|
- fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
3611
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
3670
|
3612
|
self
|
|
3671
|
3613
|
}
|
|
3672
|
3614
|
|
|
|
@@ -3679,13 +3621,8 @@ impl ::protobuf::Message for Relation {
|
|
3679
|
3621
|
}
|
|
3680
|
3622
|
|
|
3681
|
3623
|
fn default_instance() -> &'static Relation {
|
|
3682
|
|
- static mut instance: ::protobuf::lazy::Lazy<Relation> = ::protobuf::lazy::Lazy {
|
|
3683
|
|
- lock: ::protobuf::lazy::ONCE_INIT,
|
|
3684
|
|
- ptr: 0 as *const Relation,
|
|
3685
|
|
- };
|
|
3686
|
|
- unsafe {
|
|
3687
|
|
- instance.get(Relation::new)
|
|
3688
|
|
- }
|
|
|
3624
|
+ static instance: ::protobuf::rt::LazyV2<Relation> = ::protobuf::rt::LazyV2::INIT;
|
|
|
3625
|
+ instance.get(Relation::new)
|
|
3689
|
3626
|
}
|
|
3690
|
3627
|
}
|
|
3691
|
3628
|
|
|
|
@@ -3703,8 +3640,8 @@ impl ::protobuf::Clear for Relation {
|
|
3703
|
3640
|
}
|
|
3704
|
3641
|
|
|
3705
|
3642
|
impl ::protobuf::reflect::ProtobufValue for Relation {
|
|
3706
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
3707
|
|
- ::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
3643
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
3644
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
3708
|
3645
|
}
|
|
3709
|
3646
|
}
|
|
3710
|
3647
|
|
|
|
@@ -3749,7 +3686,7 @@ impl ::std::default::Default for Relation_MemberType {
|
|
3749
|
3686
|
}
|
|
3750
|
3687
|
|
|
3751
|
3688
|
impl ::protobuf::reflect::ProtobufValue for Relation_MemberType {
|
|
3752
|
|
- fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
3753
|
|
- ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor())
|
|
|
3689
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
3690
|
+ ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
|
|
3754
|
3691
|
}
|
|
3755
|
3692
|
}
|