Bump protobuf v2.8.1 -> v~2.14.0 and fix build issues (#485)

This commit is contained in:
Ash 2020-07-22 12:47:25 +02:00 committed by GitHub
parent 9f3a02ee8f
commit 72437bff66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 764 additions and 1561 deletions

32
Cargo.lock generated
View file

@ -793,7 +793,7 @@ dependencies = [
"librespot-protocol 0.1.1", "librespot-protocol 0.1.1",
"log 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
"num-bigint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "num-bigint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"protobuf 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rpassword 3.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "rpassword 3.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"sha-1 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "sha-1 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
@ -840,7 +840,7 @@ dependencies = [
"librespot-protocol 0.1.1", "librespot-protocol 0.1.1",
"log 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
"num-bigint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "num-bigint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"protobuf 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.97 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.97 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.97 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.97 (registry+https://github.com/rust-lang/crates.io-index)",
@ -871,7 +871,7 @@ dependencies = [
"num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
"num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"pbkdf2 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "pbkdf2 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"protobuf 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.97 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.97 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.97 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.97 (registry+https://github.com/rust-lang/crates.io-index)",
@ -896,7 +896,7 @@ dependencies = [
"librespot-protocol 0.1.1", "librespot-protocol 0.1.1",
"linear-map 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "linear-map 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
"protobuf 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -924,9 +924,9 @@ dependencies = [
name = "librespot-protocol" name = "librespot-protocol"
version = "0.1.1" version = "0.1.1"
dependencies = [ dependencies = [
"protobuf 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
"protobuf-codegen 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf-codegen 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
"protobuf-codegen-pure 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf-codegen-pure 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1311,24 +1311,24 @@ dependencies = [
[[package]] [[package]]
name = "protobuf" name = "protobuf"
version = "2.8.1" version = "2.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]] [[package]]
name = "protobuf-codegen" name = "protobuf-codegen"
version = "2.8.1" version = "2.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [ dependencies = [
"protobuf 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "protobuf-codegen-pure" name = "protobuf-codegen-pure"
version = "2.8.1" version = "2.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [ dependencies = [
"protobuf 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
"protobuf-codegen 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf-codegen 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -2455,9 +2455,9 @@ dependencies = [
"checksum ppv-lite86 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e3cbf9f658cdb5000fcf6f362b8ea2ba154b9f146a61c7a20d647034c6b6561b" "checksum ppv-lite86 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e3cbf9f658cdb5000fcf6f362b8ea2ba154b9f146a61c7a20d647034c6b6561b"
"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" "checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
"checksum proc-macro2 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)" = "6c09721c6781493a2a492a96b5a5bf19b65917fe6728884e7c44dd0c60ca3435" "checksum proc-macro2 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)" = "6c09721c6781493a2a492a96b5a5bf19b65917fe6728884e7c44dd0c60ca3435"
"checksum protobuf 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "40361836defdd5871ff7e84096c6f6444af7fc157f8ef1789f54f147687caa20" "checksum protobuf 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8e86d370532557ae7573551a1ec8235a0f8d6cb276c7c9e6aa490b511c447485"
"checksum protobuf-codegen 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "12c6abd78435445fc86898ebbd0521a68438063d4a73e23527b7134e6bf58b4a" "checksum protobuf-codegen 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "de113bba758ccf2c1ef816b127c958001b7831136c9bc3f8e9ec695ac4e82b0c"
"checksum protobuf-codegen-pure 2.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c1646acda5319f5b28b0bff4a484324df43ddae2c0f5a3f3e63c0b26095cd600" "checksum protobuf-codegen-pure 2.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2d1a4febc73bf0cada1d77c459a0c8e5973179f1cfd5b0f1ab789d45b17b6440"
"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" "checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0"
"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" "checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
"checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" "checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe"

View file

@ -47,7 +47,7 @@ getopts = "0.2"
hyper = "0.11" hyper = "0.11"
log = "0.4" log = "0.4"
num-bigint = "0.2" num-bigint = "0.2"
protobuf = "2.8.1" protobuf = "~2.14.0"
rand = "0.7" rand = "0.7"
rpassword = "3.0" rpassword = "3.0"
tokio-core = "0.1" tokio-core = "0.1"

View file

@ -22,7 +22,7 @@ futures = "0.1"
hyper = "0.11" hyper = "0.11"
log = "0.4" log = "0.4"
num-bigint = "0.2" num-bigint = "0.2"
protobuf = "2.8.1" protobuf = "~2.14.0"
rand = "0.7" rand = "0.7"
serde = "1.0" serde = "1.0"
serde_derive = "1.0" serde_derive = "1.0"

View file

@ -25,7 +25,7 @@ log = "0.4"
num-bigint = "0.2" num-bigint = "0.2"
num-integer = "0.1" num-integer = "0.1"
num-traits = "0.2" num-traits = "0.2"
protobuf = "2.8.1" protobuf = "~2.14.0"
rand = "0.7" rand = "0.7"
serde = "1.0" serde = "1.0"
serde_derive = "1.0" serde_derive = "1.0"

View file

@ -10,7 +10,7 @@ edition = "2018"
byteorder = "1.3" byteorder = "1.3"
futures = "0.1" futures = "0.1"
linear-map = "1.2" linear-map = "1.2"
protobuf = "2.8.1" protobuf = "~2.14.0"
log = "0.4" log = "0.4"
[dependencies.librespot-core] [dependencies.librespot-core]

View file

@ -8,8 +8,8 @@ license="MIT"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
protobuf = "~2.8.1" protobuf = "~2.14.0"
[build-dependencies] [build-dependencies]
protobuf-codegen-pure = "~2.8.1" protobuf-codegen-pure = "~2.14.0"
protobuf-codegen = "~2.8.1" protobuf-codegen = "~2.14.0"

View file

@ -29,20 +29,21 @@ fn main() {
} }
// Build the paths to relevant files. // Build the paths to relevant files.
let src = &format!("proto/{}.proto", name); let src_fname = &format!("proto/{}.proto", name);
let dest = &format!("src/{}.rs", name); let dest_fname = &format!("src/{}.rs", name);
let src = Path::new(src_fname);
let dest = Path::new(dest_fname);
// Get the contents of the existing generated file. // Get the contents of the existing generated file.
let mut existing = "".to_string(); let mut existing = "".to_string();
if Path::new(dest).exists() { if dest.exists() {
// Removing CRLF line endings if present. // Removing CRLF line endings if present.
existing = read_to_string(dest).unwrap().replace("\r\n", "\n"); existing = read_to_string(dest).unwrap().replace("\r\n", "\n");
} }
println!("Regenerating {} from {}", dest, src); println!("Regenerating {} from {}", dest.display(), src.display());
// Parse the proto files as the protobuf-codegen-pure crate does. // Parse the proto files as the protobuf-codegen-pure crate does.
let p = parse_and_typecheck(&["proto"], &[src]).expect("protoc"); let p = parse_and_typecheck(&[&Path::new("proto")], &[src]).expect("protoc");
// But generate them with the protobuf-codegen crate directly. // But generate them with the protobuf-codegen crate directly.
// Then we can keep the result in-memory. // Then we can keep the result in-memory.
let result = protobuf_codegen::gen(&p.file_descriptors, &p.relative_paths, &customizations); let result = protobuf_codegen::gen(&p.file_descriptors, &p.relative_paths, &customizations);

View file

@ -1,7 +1,7 @@
// This file is generated by rust-protobuf 2.8.1. Do not edit // This file is generated by rust-protobuf 2.14.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)] #![allow(unknown_lints)]
#![allow(clippy::all)] #![allow(clippy::all)]
@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
/// Generated files are compatible only with the same version /// Generated files are compatible only with the same version
/// of protobuf runtime. /// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_1; // const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct ClientResponseEncrypted { pub struct ClientResponseEncrypted {
@ -541,10 +541,7 @@ impl ::protobuf::Message for ClientResponseEncrypted {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -593,7 +590,7 @@ impl ::protobuf::Message for ClientResponseEncrypted {
|m: &ClientResponseEncrypted| { &m.client_info }, |m: &ClientResponseEncrypted| { &m.client_info },
|m: &mut ClientResponseEncrypted| { &mut m.client_info }, |m: &mut ClientResponseEncrypted| { &mut m.client_info },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ClientResponseEncrypted>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ClientResponseEncrypted>(
"ClientResponseEncrypted", "ClientResponseEncrypted",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -603,10 +600,7 @@ impl ::protobuf::Message for ClientResponseEncrypted {
} }
fn default_instance() -> &'static ClientResponseEncrypted { fn default_instance() -> &'static ClientResponseEncrypted {
static mut instance: ::protobuf::lazy::Lazy<ClientResponseEncrypted> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ClientResponseEncrypted> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ClientResponseEncrypted,
};
unsafe { unsafe {
instance.get(ClientResponseEncrypted::new) instance.get(ClientResponseEncrypted::new)
} }
@ -635,8 +629,8 @@ impl ::std::fmt::Debug for ClientResponseEncrypted {
} }
impl ::protobuf::reflect::ProtobufValue for ClientResponseEncrypted { impl ::protobuf::reflect::ProtobufValue for ClientResponseEncrypted {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -846,10 +840,7 @@ impl ::protobuf::Message for LoginCredentials {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -868,7 +859,7 @@ impl ::protobuf::Message for LoginCredentials {
|m: &LoginCredentials| { &m.auth_data }, |m: &LoginCredentials| { &m.auth_data },
|m: &mut LoginCredentials| { &mut m.auth_data }, |m: &mut LoginCredentials| { &mut m.auth_data },
)); ));
::protobuf::reflect::MessageDescriptor::new::<LoginCredentials>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<LoginCredentials>(
"LoginCredentials", "LoginCredentials",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -878,10 +869,7 @@ impl ::protobuf::Message for LoginCredentials {
} }
fn default_instance() -> &'static LoginCredentials { fn default_instance() -> &'static LoginCredentials {
static mut instance: ::protobuf::lazy::Lazy<LoginCredentials> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<LoginCredentials> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const LoginCredentials,
};
unsafe { unsafe {
instance.get(LoginCredentials::new) instance.get(LoginCredentials::new)
} }
@ -904,8 +892,8 @@ impl ::std::fmt::Debug for LoginCredentials {
} }
impl ::protobuf::reflect::ProtobufValue for LoginCredentials { impl ::protobuf::reflect::ProtobufValue for LoginCredentials {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1093,10 +1081,7 @@ impl ::protobuf::Message for FingerprintResponseUnion {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1110,7 +1095,7 @@ impl ::protobuf::Message for FingerprintResponseUnion {
|m: &FingerprintResponseUnion| { &m.hmac_ripemd }, |m: &FingerprintResponseUnion| { &m.hmac_ripemd },
|m: &mut FingerprintResponseUnion| { &mut m.hmac_ripemd }, |m: &mut FingerprintResponseUnion| { &mut m.hmac_ripemd },
)); ));
::protobuf::reflect::MessageDescriptor::new::<FingerprintResponseUnion>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<FingerprintResponseUnion>(
"FingerprintResponseUnion", "FingerprintResponseUnion",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1120,10 +1105,7 @@ impl ::protobuf::Message for FingerprintResponseUnion {
} }
fn default_instance() -> &'static FingerprintResponseUnion { fn default_instance() -> &'static FingerprintResponseUnion {
static mut instance: ::protobuf::lazy::Lazy<FingerprintResponseUnion> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<FingerprintResponseUnion> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const FingerprintResponseUnion,
};
unsafe { unsafe {
instance.get(FingerprintResponseUnion::new) instance.get(FingerprintResponseUnion::new)
} }
@ -1145,8 +1127,8 @@ impl ::std::fmt::Debug for FingerprintResponseUnion {
} }
impl ::protobuf::reflect::ProtobufValue for FingerprintResponseUnion { impl ::protobuf::reflect::ProtobufValue for FingerprintResponseUnion {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1281,10 +1263,7 @@ impl ::protobuf::Message for FingerprintGrainResponse {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1293,7 +1272,7 @@ impl ::protobuf::Message for FingerprintGrainResponse {
|m: &FingerprintGrainResponse| { &m.encrypted_key }, |m: &FingerprintGrainResponse| { &m.encrypted_key },
|m: &mut FingerprintGrainResponse| { &mut m.encrypted_key }, |m: &mut FingerprintGrainResponse| { &mut m.encrypted_key },
)); ));
::protobuf::reflect::MessageDescriptor::new::<FingerprintGrainResponse>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<FingerprintGrainResponse>(
"FingerprintGrainResponse", "FingerprintGrainResponse",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1303,10 +1282,7 @@ impl ::protobuf::Message for FingerprintGrainResponse {
} }
fn default_instance() -> &'static FingerprintGrainResponse { fn default_instance() -> &'static FingerprintGrainResponse {
static mut instance: ::protobuf::lazy::Lazy<FingerprintGrainResponse> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<FingerprintGrainResponse> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const FingerprintGrainResponse,
};
unsafe { unsafe {
instance.get(FingerprintGrainResponse::new) instance.get(FingerprintGrainResponse::new)
} }
@ -1327,8 +1303,8 @@ impl ::std::fmt::Debug for FingerprintGrainResponse {
} }
impl ::protobuf::reflect::ProtobufValue for FingerprintGrainResponse { impl ::protobuf::reflect::ProtobufValue for FingerprintGrainResponse {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1463,10 +1439,7 @@ impl ::protobuf::Message for FingerprintHmacRipemdResponse {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1475,7 +1448,7 @@ impl ::protobuf::Message for FingerprintHmacRipemdResponse {
|m: &FingerprintHmacRipemdResponse| { &m.hmac }, |m: &FingerprintHmacRipemdResponse| { &m.hmac },
|m: &mut FingerprintHmacRipemdResponse| { &mut m.hmac }, |m: &mut FingerprintHmacRipemdResponse| { &mut m.hmac },
)); ));
::protobuf::reflect::MessageDescriptor::new::<FingerprintHmacRipemdResponse>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<FingerprintHmacRipemdResponse>(
"FingerprintHmacRipemdResponse", "FingerprintHmacRipemdResponse",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1485,10 +1458,7 @@ impl ::protobuf::Message for FingerprintHmacRipemdResponse {
} }
fn default_instance() -> &'static FingerprintHmacRipemdResponse { fn default_instance() -> &'static FingerprintHmacRipemdResponse {
static mut instance: ::protobuf::lazy::Lazy<FingerprintHmacRipemdResponse> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<FingerprintHmacRipemdResponse> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const FingerprintHmacRipemdResponse,
};
unsafe { unsafe {
instance.get(FingerprintHmacRipemdResponse::new) instance.get(FingerprintHmacRipemdResponse::new)
} }
@ -1509,8 +1479,8 @@ impl ::std::fmt::Debug for FingerprintHmacRipemdResponse {
} }
impl ::protobuf::reflect::ProtobufValue for FingerprintHmacRipemdResponse { impl ::protobuf::reflect::ProtobufValue for FingerprintHmacRipemdResponse {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1698,10 +1668,7 @@ impl ::protobuf::Message for PeerTicketUnion {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1715,7 +1682,7 @@ impl ::protobuf::Message for PeerTicketUnion {
|m: &PeerTicketUnion| { &m.old_ticket }, |m: &PeerTicketUnion| { &m.old_ticket },
|m: &mut PeerTicketUnion| { &mut m.old_ticket }, |m: &mut PeerTicketUnion| { &mut m.old_ticket },
)); ));
::protobuf::reflect::MessageDescriptor::new::<PeerTicketUnion>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<PeerTicketUnion>(
"PeerTicketUnion", "PeerTicketUnion",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1725,10 +1692,7 @@ impl ::protobuf::Message for PeerTicketUnion {
} }
fn default_instance() -> &'static PeerTicketUnion { fn default_instance() -> &'static PeerTicketUnion {
static mut instance: ::protobuf::lazy::Lazy<PeerTicketUnion> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<PeerTicketUnion> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const PeerTicketUnion,
};
unsafe { unsafe {
instance.get(PeerTicketUnion::new) instance.get(PeerTicketUnion::new)
} }
@ -1750,8 +1714,8 @@ impl ::std::fmt::Debug for PeerTicketUnion {
} }
impl ::protobuf::reflect::ProtobufValue for PeerTicketUnion { impl ::protobuf::reflect::ProtobufValue for PeerTicketUnion {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1886,10 +1850,7 @@ impl ::protobuf::Message for PeerTicketPublicKey {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1898,7 +1859,7 @@ impl ::protobuf::Message for PeerTicketPublicKey {
|m: &PeerTicketPublicKey| { &m.public_key }, |m: &PeerTicketPublicKey| { &m.public_key },
|m: &mut PeerTicketPublicKey| { &mut m.public_key }, |m: &mut PeerTicketPublicKey| { &mut m.public_key },
)); ));
::protobuf::reflect::MessageDescriptor::new::<PeerTicketPublicKey>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<PeerTicketPublicKey>(
"PeerTicketPublicKey", "PeerTicketPublicKey",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1908,10 +1869,7 @@ impl ::protobuf::Message for PeerTicketPublicKey {
} }
fn default_instance() -> &'static PeerTicketPublicKey { fn default_instance() -> &'static PeerTicketPublicKey {
static mut instance: ::protobuf::lazy::Lazy<PeerTicketPublicKey> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<PeerTicketPublicKey> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const PeerTicketPublicKey,
};
unsafe { unsafe {
instance.get(PeerTicketPublicKey::new) instance.get(PeerTicketPublicKey::new)
} }
@ -1932,8 +1890,8 @@ impl ::std::fmt::Debug for PeerTicketPublicKey {
} }
impl ::protobuf::reflect::ProtobufValue for PeerTicketPublicKey { impl ::protobuf::reflect::ProtobufValue for PeerTicketPublicKey {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -2117,10 +2075,7 @@ impl ::protobuf::Message for PeerTicketOld {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -2134,7 +2089,7 @@ impl ::protobuf::Message for PeerTicketOld {
|m: &PeerTicketOld| { &m.peer_ticket_signature }, |m: &PeerTicketOld| { &m.peer_ticket_signature },
|m: &mut PeerTicketOld| { &mut m.peer_ticket_signature }, |m: &mut PeerTicketOld| { &mut m.peer_ticket_signature },
)); ));
::protobuf::reflect::MessageDescriptor::new::<PeerTicketOld>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<PeerTicketOld>(
"PeerTicketOld", "PeerTicketOld",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -2144,10 +2099,7 @@ impl ::protobuf::Message for PeerTicketOld {
} }
fn default_instance() -> &'static PeerTicketOld { fn default_instance() -> &'static PeerTicketOld {
static mut instance: ::protobuf::lazy::Lazy<PeerTicketOld> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<PeerTicketOld> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const PeerTicketOld,
};
unsafe { unsafe {
instance.get(PeerTicketOld::new) instance.get(PeerTicketOld::new)
} }
@ -2169,8 +2121,8 @@ impl ::std::fmt::Debug for PeerTicketOld {
} }
impl ::protobuf::reflect::ProtobufValue for PeerTicketOld { impl ::protobuf::reflect::ProtobufValue for PeerTicketOld {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -2606,10 +2558,7 @@ impl ::protobuf::Message for SystemInfo {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -2663,7 +2612,7 @@ impl ::protobuf::Message for SystemInfo {
|m: &SystemInfo| { &m.device_id }, |m: &SystemInfo| { &m.device_id },
|m: &mut SystemInfo| { &mut m.device_id }, |m: &mut SystemInfo| { &mut m.device_id },
)); ));
::protobuf::reflect::MessageDescriptor::new::<SystemInfo>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<SystemInfo>(
"SystemInfo", "SystemInfo",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -2673,10 +2622,7 @@ impl ::protobuf::Message for SystemInfo {
} }
fn default_instance() -> &'static SystemInfo { fn default_instance() -> &'static SystemInfo {
static mut instance: ::protobuf::lazy::Lazy<SystemInfo> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<SystemInfo> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const SystemInfo,
};
unsafe { unsafe {
instance.get(SystemInfo::new) instance.get(SystemInfo::new)
} }
@ -2706,8 +2652,8 @@ impl ::std::fmt::Debug for SystemInfo {
} }
impl ::protobuf::reflect::ProtobufValue for SystemInfo { impl ::protobuf::reflect::ProtobufValue for SystemInfo {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3025,10 +2971,7 @@ impl ::protobuf::Message for LibspotifyAppKey {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -3057,7 +3000,7 @@ impl ::protobuf::Message for LibspotifyAppKey {
|m: &LibspotifyAppKey| { &m.callback_hash }, |m: &LibspotifyAppKey| { &m.callback_hash },
|m: &mut LibspotifyAppKey| { &mut m.callback_hash }, |m: &mut LibspotifyAppKey| { &mut m.callback_hash },
)); ));
::protobuf::reflect::MessageDescriptor::new::<LibspotifyAppKey>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<LibspotifyAppKey>(
"LibspotifyAppKey", "LibspotifyAppKey",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -3067,10 +3010,7 @@ impl ::protobuf::Message for LibspotifyAppKey {
} }
fn default_instance() -> &'static LibspotifyAppKey { fn default_instance() -> &'static LibspotifyAppKey {
static mut instance: ::protobuf::lazy::Lazy<LibspotifyAppKey> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<LibspotifyAppKey> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const LibspotifyAppKey,
};
unsafe { unsafe {
instance.get(LibspotifyAppKey::new) instance.get(LibspotifyAppKey::new)
} }
@ -3095,8 +3035,8 @@ impl ::std::fmt::Debug for LibspotifyAppKey {
} }
impl ::protobuf::reflect::ProtobufValue for LibspotifyAppKey { impl ::protobuf::reflect::ProtobufValue for LibspotifyAppKey {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3312,10 +3252,7 @@ impl ::protobuf::Message for ClientInfo {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -3334,7 +3271,7 @@ impl ::protobuf::Message for ClientInfo {
|m: &ClientInfo| { &m.language }, |m: &ClientInfo| { &m.language },
|m: &mut ClientInfo| { &mut m.language }, |m: &mut ClientInfo| { &mut m.language },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ClientInfo>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ClientInfo>(
"ClientInfo", "ClientInfo",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -3344,10 +3281,7 @@ impl ::protobuf::Message for ClientInfo {
} }
fn default_instance() -> &'static ClientInfo { fn default_instance() -> &'static ClientInfo {
static mut instance: ::protobuf::lazy::Lazy<ClientInfo> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ClientInfo> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ClientInfo,
};
unsafe { unsafe {
instance.get(ClientInfo::new) instance.get(ClientInfo::new)
} }
@ -3370,8 +3304,8 @@ impl ::std::fmt::Debug for ClientInfo {
} }
impl ::protobuf::reflect::ProtobufValue for ClientInfo { impl ::protobuf::reflect::ProtobufValue for ClientInfo {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3503,10 +3437,7 @@ impl ::protobuf::Message for ClientInfoFacebook {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -3515,7 +3446,7 @@ impl ::protobuf::Message for ClientInfoFacebook {
|m: &ClientInfoFacebook| { &m.machine_id }, |m: &ClientInfoFacebook| { &m.machine_id },
|m: &mut ClientInfoFacebook| { &mut m.machine_id }, |m: &mut ClientInfoFacebook| { &mut m.machine_id },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ClientInfoFacebook>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ClientInfoFacebook>(
"ClientInfoFacebook", "ClientInfoFacebook",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -3525,10 +3456,7 @@ impl ::protobuf::Message for ClientInfoFacebook {
} }
fn default_instance() -> &'static ClientInfoFacebook { fn default_instance() -> &'static ClientInfoFacebook {
static mut instance: ::protobuf::lazy::Lazy<ClientInfoFacebook> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ClientInfoFacebook> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ClientInfoFacebook,
};
unsafe { unsafe {
instance.get(ClientInfoFacebook::new) instance.get(ClientInfoFacebook::new)
} }
@ -3549,8 +3477,8 @@ impl ::std::fmt::Debug for ClientInfoFacebook {
} }
impl ::protobuf::reflect::ProtobufValue for ClientInfoFacebook { impl ::protobuf::reflect::ProtobufValue for ClientInfoFacebook {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3978,10 +3906,7 @@ impl ::protobuf::Message for APWelcome {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -4025,7 +3950,7 @@ impl ::protobuf::Message for APWelcome {
|m: &APWelcome| { &m.fb }, |m: &APWelcome| { &m.fb },
|m: &mut APWelcome| { &mut m.fb }, |m: &mut APWelcome| { &mut m.fb },
)); ));
::protobuf::reflect::MessageDescriptor::new::<APWelcome>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<APWelcome>(
"APWelcome", "APWelcome",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -4035,10 +3960,7 @@ impl ::protobuf::Message for APWelcome {
} }
fn default_instance() -> &'static APWelcome { fn default_instance() -> &'static APWelcome {
static mut instance: ::protobuf::lazy::Lazy<APWelcome> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<APWelcome> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const APWelcome,
};
unsafe { unsafe {
instance.get(APWelcome::new) instance.get(APWelcome::new)
} }
@ -4066,8 +3988,8 @@ impl ::std::fmt::Debug for APWelcome {
} }
impl ::protobuf::reflect::ProtobufValue for APWelcome { impl ::protobuf::reflect::ProtobufValue for APWelcome {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -4255,10 +4177,7 @@ impl ::protobuf::Message for AccountInfo {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -4272,7 +4191,7 @@ impl ::protobuf::Message for AccountInfo {
|m: &AccountInfo| { &m.facebook }, |m: &AccountInfo| { &m.facebook },
|m: &mut AccountInfo| { &mut m.facebook }, |m: &mut AccountInfo| { &mut m.facebook },
)); ));
::protobuf::reflect::MessageDescriptor::new::<AccountInfo>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<AccountInfo>(
"AccountInfo", "AccountInfo",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -4282,10 +4201,7 @@ impl ::protobuf::Message for AccountInfo {
} }
fn default_instance() -> &'static AccountInfo { fn default_instance() -> &'static AccountInfo {
static mut instance: ::protobuf::lazy::Lazy<AccountInfo> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<AccountInfo> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const AccountInfo,
};
unsafe { unsafe {
instance.get(AccountInfo::new) instance.get(AccountInfo::new)
} }
@ -4307,8 +4223,8 @@ impl ::std::fmt::Debug for AccountInfo {
} }
impl ::protobuf::reflect::ProtobufValue for AccountInfo { impl ::protobuf::reflect::ProtobufValue for AccountInfo {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -4393,14 +4309,11 @@ impl ::protobuf::Message for AccountInfoSpotify {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let fields = ::std::vec::Vec::new(); let fields = ::std::vec::Vec::new();
::protobuf::reflect::MessageDescriptor::new::<AccountInfoSpotify>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<AccountInfoSpotify>(
"AccountInfoSpotify", "AccountInfoSpotify",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -4410,10 +4323,7 @@ impl ::protobuf::Message for AccountInfoSpotify {
} }
fn default_instance() -> &'static AccountInfoSpotify { fn default_instance() -> &'static AccountInfoSpotify {
static mut instance: ::protobuf::lazy::Lazy<AccountInfoSpotify> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<AccountInfoSpotify> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const AccountInfoSpotify,
};
unsafe { unsafe {
instance.get(AccountInfoSpotify::new) instance.get(AccountInfoSpotify::new)
} }
@ -4433,8 +4343,8 @@ impl ::std::fmt::Debug for AccountInfoSpotify {
} }
impl ::protobuf::reflect::ProtobufValue for AccountInfoSpotify { impl ::protobuf::reflect::ProtobufValue for AccountInfoSpotify {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -4612,10 +4522,7 @@ impl ::protobuf::Message for AccountInfoFacebook {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -4629,7 +4536,7 @@ impl ::protobuf::Message for AccountInfoFacebook {
|m: &AccountInfoFacebook| { &m.machine_id }, |m: &AccountInfoFacebook| { &m.machine_id },
|m: &mut AccountInfoFacebook| { &mut m.machine_id }, |m: &mut AccountInfoFacebook| { &mut m.machine_id },
)); ));
::protobuf::reflect::MessageDescriptor::new::<AccountInfoFacebook>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<AccountInfoFacebook>(
"AccountInfoFacebook", "AccountInfoFacebook",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -4639,10 +4546,7 @@ impl ::protobuf::Message for AccountInfoFacebook {
} }
fn default_instance() -> &'static AccountInfoFacebook { fn default_instance() -> &'static AccountInfoFacebook {
static mut instance: ::protobuf::lazy::Lazy<AccountInfoFacebook> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<AccountInfoFacebook> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const AccountInfoFacebook,
};
unsafe { unsafe {
instance.get(AccountInfoFacebook::new) instance.get(AccountInfoFacebook::new)
} }
@ -4664,8 +4568,8 @@ impl ::std::fmt::Debug for AccountInfoFacebook {
} }
impl ::protobuf::reflect::ProtobufValue for AccountInfoFacebook { impl ::protobuf::reflect::ProtobufValue for AccountInfoFacebook {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -4706,13 +4610,10 @@ impl ::protobuf::ProtobufEnum for AuthenticationType {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("AuthenticationType", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<AuthenticationType>("AuthenticationType", file_descriptor_proto())
}) })
} }
} }
@ -4728,8 +4629,8 @@ impl ::std::default::Default for AuthenticationType {
} }
impl ::protobuf::reflect::ProtobufValue for AuthenticationType { impl ::protobuf::reflect::ProtobufValue for AuthenticationType {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -4761,13 +4662,10 @@ impl ::protobuf::ProtobufEnum for AccountCreation {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("AccountCreation", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<AccountCreation>("AccountCreation", file_descriptor_proto())
}) })
} }
} }
@ -4784,8 +4682,8 @@ impl ::std::default::Default for AccountCreation {
} }
impl ::protobuf::reflect::ProtobufValue for AccountCreation { impl ::protobuf::reflect::ProtobufValue for AccountCreation {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -4841,13 +4739,10 @@ impl ::protobuf::ProtobufEnum for CpuFamily {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("CpuFamily", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<CpuFamily>("CpuFamily", file_descriptor_proto())
}) })
} }
} }
@ -4863,8 +4758,8 @@ impl ::std::default::Default for CpuFamily {
} }
impl ::protobuf::reflect::ProtobufValue for CpuFamily { impl ::protobuf::reflect::ProtobufValue for CpuFamily {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -4902,13 +4797,10 @@ impl ::protobuf::ProtobufEnum for Brand {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("Brand", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<Brand>("Brand", file_descriptor_proto())
}) })
} }
} }
@ -4924,8 +4816,8 @@ impl ::std::default::Default for Brand {
} }
impl ::protobuf::reflect::ProtobufValue for Brand { impl ::protobuf::reflect::ProtobufValue for Brand {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -5020,13 +4912,10 @@ impl ::protobuf::ProtobufEnum for Os {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("Os", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<Os>("Os", file_descriptor_proto())
}) })
} }
} }
@ -5042,8 +4931,8 @@ impl ::std::default::Default for Os {
} }
impl ::protobuf::reflect::ProtobufValue for Os { impl ::protobuf::reflect::ProtobufValue for Os {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -5075,13 +4964,10 @@ impl ::protobuf::ProtobufEnum for AccountType {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("AccountType", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<AccountType>("AccountType", file_descriptor_proto())
}) })
} }
} }
@ -5097,8 +4983,8 @@ impl ::std::default::Default for AccountType {
} }
impl ::protobuf::reflect::ProtobufValue for AccountType { impl ::protobuf::reflect::ProtobufValue for AccountType {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -5176,10 +5062,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x10\0\x12\x0c\n\x08Facebook\x10\x01\x1a\0B\0b\x06proto2\ \x10\0\x12\x0c\n\x08Facebook\x10\x01\x1a\0B\0b\x06proto2\
"; ";
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
// This file is generated by rust-protobuf 2.8.1. Do not edit // This file is generated by rust-protobuf 2.14.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)] #![allow(unknown_lints)]
#![allow(clippy::all)] #![allow(clippy::all)]
@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
/// Generated files are compatible only with the same version /// Generated files are compatible only with the same version
/// of protobuf runtime. /// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_1; // const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct MercuryMultiGetRequest { pub struct MercuryMultiGetRequest {
@ -151,10 +151,7 @@ impl ::protobuf::Message for MercuryMultiGetRequest {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -163,7 +160,7 @@ impl ::protobuf::Message for MercuryMultiGetRequest {
|m: &MercuryMultiGetRequest| { &m.request }, |m: &MercuryMultiGetRequest| { &m.request },
|m: &mut MercuryMultiGetRequest| { &mut m.request }, |m: &mut MercuryMultiGetRequest| { &mut m.request },
)); ));
::protobuf::reflect::MessageDescriptor::new::<MercuryMultiGetRequest>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<MercuryMultiGetRequest>(
"MercuryMultiGetRequest", "MercuryMultiGetRequest",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -173,10 +170,7 @@ impl ::protobuf::Message for MercuryMultiGetRequest {
} }
fn default_instance() -> &'static MercuryMultiGetRequest { fn default_instance() -> &'static MercuryMultiGetRequest {
static mut instance: ::protobuf::lazy::Lazy<MercuryMultiGetRequest> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<MercuryMultiGetRequest> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const MercuryMultiGetRequest,
};
unsafe { unsafe {
instance.get(MercuryMultiGetRequest::new) instance.get(MercuryMultiGetRequest::new)
} }
@ -197,8 +191,8 @@ impl ::std::fmt::Debug for MercuryMultiGetRequest {
} }
impl ::protobuf::reflect::ProtobufValue for MercuryMultiGetRequest { impl ::protobuf::reflect::ProtobufValue for MercuryMultiGetRequest {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -327,10 +321,7 @@ impl ::protobuf::Message for MercuryMultiGetReply {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -339,7 +330,7 @@ impl ::protobuf::Message for MercuryMultiGetReply {
|m: &MercuryMultiGetReply| { &m.reply }, |m: &MercuryMultiGetReply| { &m.reply },
|m: &mut MercuryMultiGetReply| { &mut m.reply }, |m: &mut MercuryMultiGetReply| { &mut m.reply },
)); ));
::protobuf::reflect::MessageDescriptor::new::<MercuryMultiGetReply>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<MercuryMultiGetReply>(
"MercuryMultiGetReply", "MercuryMultiGetReply",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -349,10 +340,7 @@ impl ::protobuf::Message for MercuryMultiGetReply {
} }
fn default_instance() -> &'static MercuryMultiGetReply { fn default_instance() -> &'static MercuryMultiGetReply {
static mut instance: ::protobuf::lazy::Lazy<MercuryMultiGetReply> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<MercuryMultiGetReply> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const MercuryMultiGetReply,
};
unsafe { unsafe {
instance.get(MercuryMultiGetReply::new) instance.get(MercuryMultiGetReply::new)
} }
@ -373,8 +361,8 @@ impl ::std::fmt::Debug for MercuryMultiGetReply {
} }
impl ::protobuf::reflect::ProtobufValue for MercuryMultiGetReply { impl ::protobuf::reflect::ProtobufValue for MercuryMultiGetReply {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -644,10 +632,7 @@ impl ::protobuf::Message for MercuryRequest {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -671,7 +656,7 @@ impl ::protobuf::Message for MercuryRequest {
|m: &MercuryRequest| { &m.etag }, |m: &MercuryRequest| { &m.etag },
|m: &mut MercuryRequest| { &mut m.etag }, |m: &mut MercuryRequest| { &mut m.etag },
)); ));
::protobuf::reflect::MessageDescriptor::new::<MercuryRequest>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<MercuryRequest>(
"MercuryRequest", "MercuryRequest",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -681,10 +666,7 @@ impl ::protobuf::Message for MercuryRequest {
} }
fn default_instance() -> &'static MercuryRequest { fn default_instance() -> &'static MercuryRequest {
static mut instance: ::protobuf::lazy::Lazy<MercuryRequest> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<MercuryRequest> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const MercuryRequest,
};
unsafe { unsafe {
instance.get(MercuryRequest::new) instance.get(MercuryRequest::new)
} }
@ -708,8 +690,8 @@ impl ::std::fmt::Debug for MercuryRequest {
} }
impl ::protobuf::reflect::ProtobufValue for MercuryRequest { impl ::protobuf::reflect::ProtobufValue for MercuryRequest {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1074,10 +1056,7 @@ impl ::protobuf::Message for MercuryReply {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1116,7 +1095,7 @@ impl ::protobuf::Message for MercuryReply {
|m: &MercuryReply| { &m.body }, |m: &MercuryReply| { &m.body },
|m: &mut MercuryReply| { &mut m.body }, |m: &mut MercuryReply| { &mut m.body },
)); ));
::protobuf::reflect::MessageDescriptor::new::<MercuryReply>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<MercuryReply>(
"MercuryReply", "MercuryReply",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1126,10 +1105,7 @@ impl ::protobuf::Message for MercuryReply {
} }
fn default_instance() -> &'static MercuryReply { fn default_instance() -> &'static MercuryReply {
static mut instance: ::protobuf::lazy::Lazy<MercuryReply> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<MercuryReply> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const MercuryReply,
};
unsafe { unsafe {
instance.get(MercuryReply::new) instance.get(MercuryReply::new)
} }
@ -1156,8 +1132,8 @@ impl ::std::fmt::Debug for MercuryReply {
} }
impl ::protobuf::reflect::ProtobufValue for MercuryReply { impl ::protobuf::reflect::ProtobufValue for MercuryReply {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1192,13 +1168,10 @@ impl ::protobuf::ProtobufEnum for MercuryReply_CachePolicy {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("MercuryReply_CachePolicy", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<MercuryReply_CachePolicy>("MercuryReply.CachePolicy", file_descriptor_proto())
}) })
} }
} }
@ -1215,8 +1188,8 @@ impl ::std::default::Default for MercuryReply_CachePolicy {
} }
impl ::protobuf::reflect::ProtobufValue for MercuryReply_CachePolicy { impl ::protobuf::reflect::ProtobufValue for MercuryReply_CachePolicy {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -1516,10 +1489,7 @@ impl ::protobuf::Message for Header {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1548,7 +1518,7 @@ impl ::protobuf::Message for Header {
|m: &Header| { &m.user_fields }, |m: &Header| { &m.user_fields },
|m: &mut Header| { &mut m.user_fields }, |m: &mut Header| { &mut m.user_fields },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Header>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Header>(
"Header", "Header",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1558,10 +1528,7 @@ impl ::protobuf::Message for Header {
} }
fn default_instance() -> &'static Header { fn default_instance() -> &'static Header {
static mut instance: ::protobuf::lazy::Lazy<Header> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Header> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Header,
};
unsafe { unsafe {
instance.get(Header::new) instance.get(Header::new)
} }
@ -1586,8 +1553,8 @@ impl ::std::fmt::Debug for Header {
} }
impl ::protobuf::reflect::ProtobufValue for Header { impl ::protobuf::reflect::ProtobufValue for Header {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1765,10 +1732,7 @@ impl ::protobuf::Message for UserField {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1782,7 +1746,7 @@ impl ::protobuf::Message for UserField {
|m: &UserField| { &m.value }, |m: &UserField| { &m.value },
|m: &mut UserField| { &mut m.value }, |m: &mut UserField| { &mut m.value },
)); ));
::protobuf::reflect::MessageDescriptor::new::<UserField>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<UserField>(
"UserField", "UserField",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1792,10 +1756,7 @@ impl ::protobuf::Message for UserField {
} }
fn default_instance() -> &'static UserField { fn default_instance() -> &'static UserField {
static mut instance: ::protobuf::lazy::Lazy<UserField> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<UserField> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const UserField,
};
unsafe { unsafe {
instance.get(UserField::new) instance.get(UserField::new)
} }
@ -1817,8 +1778,8 @@ impl ::std::fmt::Debug for UserField {
} }
impl ::protobuf::reflect::ProtobufValue for UserField { impl ::protobuf::reflect::ProtobufValue for UserField {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1843,10 +1804,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x12\x0f\n\x05value\x18\x02\x20\x01(\x0cB\0:\0B\0b\x06proto2\ \x12\x0f\n\x05value\x18\x02\x20\x01(\x0cB\0:\0B\0b\x06proto2\
"; ";
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
// This file is generated by rust-protobuf 2.8.1. Do not edit // This file is generated by rust-protobuf 2.14.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)] #![allow(unknown_lints)]
#![allow(clippy::all)] #![allow(clippy::all)]
@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
/// Generated files are compatible only with the same version /// Generated files are compatible only with the same version
/// of protobuf runtime. /// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_1; // const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct ChangeInfo { pub struct ChangeInfo {
@ -385,10 +385,7 @@ impl ::protobuf::Message for ChangeInfo {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -432,7 +429,7 @@ impl ::protobuf::Message for ChangeInfo {
|m: &ChangeInfo| { &m.migration }, |m: &ChangeInfo| { &m.migration },
|m: &mut ChangeInfo| { &mut m.migration }, |m: &mut ChangeInfo| { &mut m.migration },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ChangeInfo>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ChangeInfo>(
"ChangeInfo", "ChangeInfo",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -442,10 +439,7 @@ impl ::protobuf::Message for ChangeInfo {
} }
fn default_instance() -> &'static ChangeInfo { fn default_instance() -> &'static ChangeInfo {
static mut instance: ::protobuf::lazy::Lazy<ChangeInfo> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ChangeInfo> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ChangeInfo,
};
unsafe { unsafe {
instance.get(ChangeInfo::new) instance.get(ChangeInfo::new)
} }
@ -473,8 +467,8 @@ impl ::std::fmt::Debug for ChangeInfo {
} }
impl ::protobuf::reflect::ProtobufValue for ChangeInfo { impl ::protobuf::reflect::ProtobufValue for ChangeInfo {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -700,10 +694,7 @@ impl ::protobuf::Message for Delta {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -722,7 +713,7 @@ impl ::protobuf::Message for Delta {
|m: &Delta| { &m.info }, |m: &Delta| { &m.info },
|m: &mut Delta| { &mut m.info }, |m: &mut Delta| { &mut m.info },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Delta>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Delta>(
"Delta", "Delta",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -732,10 +723,7 @@ impl ::protobuf::Message for Delta {
} }
fn default_instance() -> &'static Delta { fn default_instance() -> &'static Delta {
static mut instance: ::protobuf::lazy::Lazy<Delta> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Delta> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Delta,
};
unsafe { unsafe {
instance.get(Delta::new) instance.get(Delta::new)
} }
@ -758,8 +746,8 @@ impl ::std::fmt::Debug for Delta {
} }
impl ::protobuf::reflect::ProtobufValue for Delta { impl ::protobuf::reflect::ProtobufValue for Delta {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -988,10 +976,7 @@ impl ::protobuf::Message for Merge {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1010,7 +995,7 @@ impl ::protobuf::Message for Merge {
|m: &Merge| { &m.info }, |m: &Merge| { &m.info },
|m: &mut Merge| { &mut m.info }, |m: &mut Merge| { &mut m.info },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Merge>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Merge>(
"Merge", "Merge",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1020,10 +1005,7 @@ impl ::protobuf::Message for Merge {
} }
fn default_instance() -> &'static Merge { fn default_instance() -> &'static Merge {
static mut instance: ::protobuf::lazy::Lazy<Merge> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Merge> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Merge,
};
unsafe { unsafe {
instance.get(Merge::new) instance.get(Merge::new)
} }
@ -1046,8 +1028,8 @@ impl ::std::fmt::Debug for Merge {
} }
impl ::protobuf::reflect::ProtobufValue for Merge { impl ::protobuf::reflect::ProtobufValue for Merge {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1264,10 +1246,7 @@ impl ::protobuf::Message for ChangeSet {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1286,7 +1265,7 @@ impl ::protobuf::Message for ChangeSet {
|m: &ChangeSet| { &m.merge }, |m: &ChangeSet| { &m.merge },
|m: &mut ChangeSet| { &mut m.merge }, |m: &mut ChangeSet| { &mut m.merge },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ChangeSet>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ChangeSet>(
"ChangeSet", "ChangeSet",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1296,10 +1275,7 @@ impl ::protobuf::Message for ChangeSet {
} }
fn default_instance() -> &'static ChangeSet { fn default_instance() -> &'static ChangeSet {
static mut instance: ::protobuf::lazy::Lazy<ChangeSet> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ChangeSet> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ChangeSet,
};
unsafe { unsafe {
instance.get(ChangeSet::new) instance.get(ChangeSet::new)
} }
@ -1322,8 +1298,8 @@ impl ::std::fmt::Debug for ChangeSet {
} }
impl ::protobuf::reflect::ProtobufValue for ChangeSet { impl ::protobuf::reflect::ProtobufValue for ChangeSet {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1358,13 +1334,10 @@ impl ::protobuf::ProtobufEnum for ChangeSet_Kind {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("ChangeSet_Kind", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<ChangeSet_Kind>("ChangeSet.Kind", file_descriptor_proto())
}) })
} }
} }
@ -1380,8 +1353,8 @@ impl ::std::default::Default for ChangeSet_Kind {
} }
impl ::protobuf::reflect::ProtobufValue for ChangeSet_Kind { impl ::protobuf::reflect::ProtobufValue for ChangeSet_Kind {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -1564,10 +1537,7 @@ impl ::protobuf::Message for RevisionTaggedChangeSet {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1581,7 +1551,7 @@ impl ::protobuf::Message for RevisionTaggedChangeSet {
|m: &RevisionTaggedChangeSet| { &m.change_set }, |m: &RevisionTaggedChangeSet| { &m.change_set },
|m: &mut RevisionTaggedChangeSet| { &mut m.change_set }, |m: &mut RevisionTaggedChangeSet| { &mut m.change_set },
)); ));
::protobuf::reflect::MessageDescriptor::new::<RevisionTaggedChangeSet>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<RevisionTaggedChangeSet>(
"RevisionTaggedChangeSet", "RevisionTaggedChangeSet",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1591,10 +1561,7 @@ impl ::protobuf::Message for RevisionTaggedChangeSet {
} }
fn default_instance() -> &'static RevisionTaggedChangeSet { fn default_instance() -> &'static RevisionTaggedChangeSet {
static mut instance: ::protobuf::lazy::Lazy<RevisionTaggedChangeSet> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<RevisionTaggedChangeSet> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const RevisionTaggedChangeSet,
};
unsafe { unsafe {
instance.get(RevisionTaggedChangeSet::new) instance.get(RevisionTaggedChangeSet::new)
} }
@ -1616,8 +1583,8 @@ impl ::std::fmt::Debug for RevisionTaggedChangeSet {
} }
impl ::protobuf::reflect::ProtobufValue for RevisionTaggedChangeSet { impl ::protobuf::reflect::ProtobufValue for RevisionTaggedChangeSet {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1838,10 +1805,7 @@ impl ::protobuf::Message for Diff {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1860,7 +1824,7 @@ impl ::protobuf::Message for Diff {
|m: &Diff| { &m.to_revision }, |m: &Diff| { &m.to_revision },
|m: &mut Diff| { &mut m.to_revision }, |m: &mut Diff| { &mut m.to_revision },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Diff>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Diff>(
"Diff", "Diff",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1870,10 +1834,7 @@ impl ::protobuf::Message for Diff {
} }
fn default_instance() -> &'static Diff { fn default_instance() -> &'static Diff {
static mut instance: ::protobuf::lazy::Lazy<Diff> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Diff> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Diff,
};
unsafe { unsafe {
instance.get(Diff::new) instance.get(Diff::new)
} }
@ -1896,8 +1857,8 @@ impl ::std::fmt::Debug for Diff {
} }
impl ::protobuf::reflect::ProtobufValue for Diff { impl ::protobuf::reflect::ProtobufValue for Diff {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -2258,10 +2219,7 @@ impl ::protobuf::Message for ListDump {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -2295,7 +2253,7 @@ impl ::protobuf::Message for ListDump {
|m: &ListDump| { &m.pendingDeltas }, |m: &ListDump| { &m.pendingDeltas },
|m: &mut ListDump| { &mut m.pendingDeltas }, |m: &mut ListDump| { &mut m.pendingDeltas },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ListDump>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListDump>(
"ListDump", "ListDump",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -2305,10 +2263,7 @@ impl ::protobuf::Message for ListDump {
} }
fn default_instance() -> &'static ListDump { fn default_instance() -> &'static ListDump {
static mut instance: ::protobuf::lazy::Lazy<ListDump> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ListDump> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ListDump,
};
unsafe { unsafe {
instance.get(ListDump::new) instance.get(ListDump::new)
} }
@ -2334,8 +2289,8 @@ impl ::std::fmt::Debug for ListDump {
} }
impl ::protobuf::reflect::ProtobufValue for ListDump { impl ::protobuf::reflect::ProtobufValue for ListDump {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -2662,10 +2617,7 @@ impl ::protobuf::Message for ListChanges {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -2699,7 +2651,7 @@ impl ::protobuf::Message for ListChanges {
|m: &ListChanges| { &m.nonces }, |m: &ListChanges| { &m.nonces },
|m: &mut ListChanges| { &mut m.nonces }, |m: &mut ListChanges| { &mut m.nonces },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ListChanges>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListChanges>(
"ListChanges", "ListChanges",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -2709,10 +2661,7 @@ impl ::protobuf::Message for ListChanges {
} }
fn default_instance() -> &'static ListChanges { fn default_instance() -> &'static ListChanges {
static mut instance: ::protobuf::lazy::Lazy<ListChanges> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ListChanges> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ListChanges,
};
unsafe { unsafe {
instance.get(ListChanges::new) instance.get(ListChanges::new)
} }
@ -2738,8 +2687,8 @@ impl ::std::fmt::Debug for ListChanges {
} }
impl ::protobuf::reflect::ProtobufValue for ListChanges { impl ::protobuf::reflect::ProtobufValue for ListChanges {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3427,10 +3376,7 @@ impl ::protobuf::Message for SelectedListContent {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -3504,7 +3450,7 @@ impl ::protobuf::Message for SelectedListContent {
|m: &SelectedListContent| { &m.owner_username }, |m: &SelectedListContent| { &m.owner_username },
|m: &mut SelectedListContent| { &mut m.owner_username }, |m: &mut SelectedListContent| { &mut m.owner_username },
)); ));
::protobuf::reflect::MessageDescriptor::new::<SelectedListContent>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<SelectedListContent>(
"SelectedListContent", "SelectedListContent",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -3514,10 +3460,7 @@ impl ::protobuf::Message for SelectedListContent {
} }
fn default_instance() -> &'static SelectedListContent { fn default_instance() -> &'static SelectedListContent {
static mut instance: ::protobuf::lazy::Lazy<SelectedListContent> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<SelectedListContent> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const SelectedListContent,
};
unsafe { unsafe {
instance.get(SelectedListContent::new) instance.get(SelectedListContent::new)
} }
@ -3551,8 +3494,8 @@ impl ::std::fmt::Debug for SelectedListContent {
} }
impl ::protobuf::reflect::ProtobufValue for SelectedListContent { impl ::protobuf::reflect::ProtobufValue for SelectedListContent {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3600,10 +3543,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x20\x01(\tB\0:\0B\0b\x06proto2\ \x20\x01(\tB\0:\0B\0b\x06proto2\
"; ";
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()

View file

@ -1,7 +1,7 @@
// This file is generated by rust-protobuf 2.8.1. Do not edit // This file is generated by rust-protobuf 2.14.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)] #![allow(unknown_lints)]
#![allow(clippy::all)] #![allow(clippy::all)]
@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
/// Generated files are compatible only with the same version /// Generated files are compatible only with the same version
/// of protobuf runtime. /// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_1; // const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct Item { pub struct Item {
@ -205,10 +205,7 @@ impl ::protobuf::Message for Item {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -222,7 +219,7 @@ impl ::protobuf::Message for Item {
|m: &Item| { &m.attributes }, |m: &Item| { &m.attributes },
|m: &mut Item| { &mut m.attributes }, |m: &mut Item| { &mut m.attributes },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Item>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Item>(
"Item", "Item",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -232,10 +229,7 @@ impl ::protobuf::Message for Item {
} }
fn default_instance() -> &'static Item { fn default_instance() -> &'static Item {
static mut instance: ::protobuf::lazy::Lazy<Item> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Item> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Item,
};
unsafe { unsafe {
instance.get(Item::new) instance.get(Item::new)
} }
@ -257,8 +251,8 @@ impl ::std::fmt::Debug for Item {
} }
impl ::protobuf::reflect::ProtobufValue for Item { impl ::protobuf::reflect::ProtobufValue for Item {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -453,10 +447,7 @@ impl ::protobuf::Message for ListItems {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -475,7 +466,7 @@ impl ::protobuf::Message for ListItems {
|m: &ListItems| { &m.items }, |m: &ListItems| { &m.items },
|m: &mut ListItems| { &mut m.items }, |m: &mut ListItems| { &mut m.items },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ListItems>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListItems>(
"ListItems", "ListItems",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -485,10 +476,7 @@ impl ::protobuf::Message for ListItems {
} }
fn default_instance() -> &'static ListItems { fn default_instance() -> &'static ListItems {
static mut instance: ::protobuf::lazy::Lazy<ListItems> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ListItems> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ListItems,
};
unsafe { unsafe {
instance.get(ListItems::new) instance.get(ListItems::new)
} }
@ -511,8 +499,8 @@ impl ::std::fmt::Debug for ListItems {
} }
impl ::protobuf::reflect::ProtobufValue for ListItems { impl ::protobuf::reflect::ProtobufValue for ListItems {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -664,10 +652,7 @@ impl ::protobuf::Message for ContentRange {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -681,7 +666,7 @@ impl ::protobuf::Message for ContentRange {
|m: &ContentRange| { &m.length }, |m: &ContentRange| { &m.length },
|m: &mut ContentRange| { &mut m.length }, |m: &mut ContentRange| { &mut m.length },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ContentRange>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ContentRange>(
"ContentRange", "ContentRange",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -691,10 +676,7 @@ impl ::protobuf::Message for ContentRange {
} }
fn default_instance() -> &'static ContentRange { fn default_instance() -> &'static ContentRange {
static mut instance: ::protobuf::lazy::Lazy<ContentRange> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ContentRange> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ContentRange,
};
unsafe { unsafe {
instance.get(ContentRange::new) instance.get(ContentRange::new)
} }
@ -716,8 +698,8 @@ impl ::std::fmt::Debug for ContentRange {
} }
impl ::protobuf::reflect::ProtobufValue for ContentRange { impl ::protobuf::reflect::ProtobufValue for ContentRange {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1296,10 +1278,7 @@ impl ::protobuf::Message for ListContentSelection {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1368,7 +1347,7 @@ impl ::protobuf::Message for ListContentSelection {
|m: &ListContentSelection| { &m.resolveAction }, |m: &ListContentSelection| { &m.resolveAction },
|m: &mut ListContentSelection| { &mut m.resolveAction }, |m: &mut ListContentSelection| { &mut m.resolveAction },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ListContentSelection>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListContentSelection>(
"ListContentSelection", "ListContentSelection",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1378,10 +1357,7 @@ impl ::protobuf::Message for ListContentSelection {
} }
fn default_instance() -> &'static ListContentSelection { fn default_instance() -> &'static ListContentSelection {
static mut instance: ::protobuf::lazy::Lazy<ListContentSelection> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ListContentSelection> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ListContentSelection,
};
unsafe { unsafe {
instance.get(ListContentSelection::new) instance.get(ListContentSelection::new)
} }
@ -1414,8 +1390,8 @@ impl ::std::fmt::Debug for ListContentSelection {
} }
impl ::protobuf::reflect::ProtobufValue for ListContentSelection { impl ::protobuf::reflect::ProtobufValue for ListContentSelection {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1439,10 +1415,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
ionB\0:\0B\0b\x06proto2\ ionB\0:\0B\0b\x06proto2\
"; ";
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()

View file

@ -1,7 +1,7 @@
// This file is generated by rust-protobuf 2.8.1. Do not edit // This file is generated by rust-protobuf 2.14.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)] #![allow(unknown_lints)]
#![allow(clippy::all)] #![allow(clippy::all)]
@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
/// Generated files are compatible only with the same version /// Generated files are compatible only with the same version
/// of protobuf runtime. /// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_1; // const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct ClientIssue { pub struct ClientIssue {
@ -199,10 +199,7 @@ impl ::protobuf::Message for ClientIssue {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -221,7 +218,7 @@ impl ::protobuf::Message for ClientIssue {
|m: &ClientIssue| { &m.repeatCount }, |m: &ClientIssue| { &m.repeatCount },
|m: &mut ClientIssue| { &mut m.repeatCount }, |m: &mut ClientIssue| { &mut m.repeatCount },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ClientIssue>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ClientIssue>(
"ClientIssue", "ClientIssue",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -231,10 +228,7 @@ impl ::protobuf::Message for ClientIssue {
} }
fn default_instance() -> &'static ClientIssue { fn default_instance() -> &'static ClientIssue {
static mut instance: ::protobuf::lazy::Lazy<ClientIssue> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ClientIssue> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ClientIssue,
};
unsafe { unsafe {
instance.get(ClientIssue::new) instance.get(ClientIssue::new)
} }
@ -257,8 +251,8 @@ impl ::std::fmt::Debug for ClientIssue {
} }
impl ::protobuf::reflect::ProtobufValue for ClientIssue { impl ::protobuf::reflect::ProtobufValue for ClientIssue {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -302,13 +296,10 @@ impl ::protobuf::ProtobufEnum for ClientIssue_Level {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("ClientIssue_Level", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<ClientIssue_Level>("ClientIssue.Level", file_descriptor_proto())
}) })
} }
} }
@ -324,8 +315,8 @@ impl ::std::default::Default for ClientIssue_Level {
} }
impl ::protobuf::reflect::ProtobufValue for ClientIssue_Level { impl ::protobuf::reflect::ProtobufValue for ClientIssue_Level {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -369,13 +360,10 @@ impl ::protobuf::ProtobufEnum for ClientIssue_Code {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("ClientIssue_Code", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<ClientIssue_Code>("ClientIssue.Code", file_descriptor_proto())
}) })
} }
} }
@ -391,8 +379,8 @@ impl ::std::default::Default for ClientIssue_Code {
} }
impl ::protobuf::reflect::ProtobufValue for ClientIssue_Code { impl ::protobuf::reflect::ProtobufValue for ClientIssue_Code {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -536,10 +524,7 @@ impl ::protobuf::Message for ClientResolveAction {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -553,7 +538,7 @@ impl ::protobuf::Message for ClientResolveAction {
|m: &ClientResolveAction| { &m.initiator }, |m: &ClientResolveAction| { &m.initiator },
|m: &mut ClientResolveAction| { &mut m.initiator }, |m: &mut ClientResolveAction| { &mut m.initiator },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ClientResolveAction>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ClientResolveAction>(
"ClientResolveAction", "ClientResolveAction",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -563,10 +548,7 @@ impl ::protobuf::Message for ClientResolveAction {
} }
fn default_instance() -> &'static ClientResolveAction { fn default_instance() -> &'static ClientResolveAction {
static mut instance: ::protobuf::lazy::Lazy<ClientResolveAction> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ClientResolveAction> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ClientResolveAction,
};
unsafe { unsafe {
instance.get(ClientResolveAction::new) instance.get(ClientResolveAction::new)
} }
@ -588,8 +570,8 @@ impl ::std::fmt::Debug for ClientResolveAction {
} }
impl ::protobuf::reflect::ProtobufValue for ClientResolveAction { impl ::protobuf::reflect::ProtobufValue for ClientResolveAction {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -636,13 +618,10 @@ impl ::protobuf::ProtobufEnum for ClientResolveAction_Code {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("ClientResolveAction_Code", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<ClientResolveAction_Code>("ClientResolveAction.Code", file_descriptor_proto())
}) })
} }
} }
@ -658,8 +637,8 @@ impl ::std::default::Default for ClientResolveAction_Code {
} }
impl ::protobuf::reflect::ProtobufValue for ClientResolveAction_Code { impl ::protobuf::reflect::ProtobufValue for ClientResolveAction_Code {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -694,13 +673,10 @@ impl ::protobuf::ProtobufEnum for ClientResolveAction_Initiator {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("ClientResolveAction_Initiator", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<ClientResolveAction_Initiator>("ClientResolveAction.Initiator", file_descriptor_proto())
}) })
} }
} }
@ -716,8 +692,8 @@ impl ::std::default::Default for ClientResolveAction_Initiator {
} }
impl ::protobuf::reflect::ProtobufValue for ClientResolveAction_Initiator { impl ::protobuf::reflect::ProtobufValue for ClientResolveAction_Initiator {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -743,10 +719,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x10\x01\x12\x14\n\x10INITIATOR_CLIENT\x10\x02\x1a\0:\0B\0b\x06proto2\ \x10\x01\x12\x14\n\x10INITIATOR_CLIENT\x10\x02\x1a\0:\0B\0b\x06proto2\
"; ";
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()

View file

@ -1,7 +1,7 @@
// This file is generated by rust-protobuf 2.8.1. Do not edit // This file is generated by rust-protobuf 2.14.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)] #![allow(unknown_lints)]
#![allow(clippy::all)] #![allow(clippy::all)]
@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
/// Generated files are compatible only with the same version /// Generated files are compatible only with the same version
/// of protobuf runtime. /// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_1; // const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct ListChecksum { pub struct ListChecksum {
@ -187,10 +187,7 @@ impl ::protobuf::Message for ListChecksum {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -204,7 +201,7 @@ impl ::protobuf::Message for ListChecksum {
|m: &ListChecksum| { &m.sha1 }, |m: &ListChecksum| { &m.sha1 },
|m: &mut ListChecksum| { &mut m.sha1 }, |m: &mut ListChecksum| { &mut m.sha1 },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ListChecksum>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListChecksum>(
"ListChecksum", "ListChecksum",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -214,10 +211,7 @@ impl ::protobuf::Message for ListChecksum {
} }
fn default_instance() -> &'static ListChecksum { fn default_instance() -> &'static ListChecksum {
static mut instance: ::protobuf::lazy::Lazy<ListChecksum> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ListChecksum> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ListChecksum,
};
unsafe { unsafe {
instance.get(ListChecksum::new) instance.get(ListChecksum::new)
} }
@ -239,8 +233,8 @@ impl ::std::fmt::Debug for ListChecksum {
} }
impl ::protobuf::reflect::ProtobufValue for ListChecksum { impl ::protobuf::reflect::ProtobufValue for ListChecksum {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -355,10 +349,7 @@ impl ::protobuf::Message for DownloadFormat {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -367,7 +358,7 @@ impl ::protobuf::Message for DownloadFormat {
|m: &DownloadFormat| { &m.codec }, |m: &DownloadFormat| { &m.codec },
|m: &mut DownloadFormat| { &mut m.codec }, |m: &mut DownloadFormat| { &mut m.codec },
)); ));
::protobuf::reflect::MessageDescriptor::new::<DownloadFormat>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<DownloadFormat>(
"DownloadFormat", "DownloadFormat",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -377,10 +368,7 @@ impl ::protobuf::Message for DownloadFormat {
} }
fn default_instance() -> &'static DownloadFormat { fn default_instance() -> &'static DownloadFormat {
static mut instance: ::protobuf::lazy::Lazy<DownloadFormat> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<DownloadFormat> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const DownloadFormat,
};
unsafe { unsafe {
instance.get(DownloadFormat::new) instance.get(DownloadFormat::new)
} }
@ -401,8 +389,8 @@ impl ::std::fmt::Debug for DownloadFormat {
} }
impl ::protobuf::reflect::ProtobufValue for DownloadFormat { impl ::protobuf::reflect::ProtobufValue for DownloadFormat {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -440,13 +428,10 @@ impl ::protobuf::ProtobufEnum for DownloadFormat_Codec {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("DownloadFormat_Codec", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<DownloadFormat_Codec>("DownloadFormat.Codec", file_descriptor_proto())
}) })
} }
} }
@ -462,8 +447,8 @@ impl ::std::default::Default for DownloadFormat_Codec {
} }
impl ::protobuf::reflect::ProtobufValue for DownloadFormat_Codec { impl ::protobuf::reflect::ProtobufValue for DownloadFormat_Codec {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -944,10 +929,7 @@ impl ::protobuf::Message for ListAttributes {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1001,7 +983,7 @@ impl ::protobuf::Message for ListAttributes {
|m: &ListAttributes| { &m.client_id }, |m: &ListAttributes| { &m.client_id },
|m: &mut ListAttributes| { &mut m.client_id }, |m: &mut ListAttributes| { &mut m.client_id },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ListAttributes>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListAttributes>(
"ListAttributes", "ListAttributes",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1011,10 +993,7 @@ impl ::protobuf::Message for ListAttributes {
} }
fn default_instance() -> &'static ListAttributes { fn default_instance() -> &'static ListAttributes {
static mut instance: ::protobuf::lazy::Lazy<ListAttributes> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ListAttributes> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ListAttributes,
};
unsafe { unsafe {
instance.get(ListAttributes::new) instance.get(ListAttributes::new)
} }
@ -1044,8 +1023,8 @@ impl ::std::fmt::Debug for ListAttributes {
} }
impl ::protobuf::reflect::ProtobufValue for ListAttributes { impl ::protobuf::reflect::ProtobufValue for ListAttributes {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1518,10 +1497,7 @@ impl ::protobuf::Message for ItemAttributes {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1575,7 +1551,7 @@ impl ::protobuf::Message for ItemAttributes {
|m: &ItemAttributes| { &m.public }, |m: &ItemAttributes| { &m.public },
|m: &mut ItemAttributes| { &mut m.public }, |m: &mut ItemAttributes| { &mut m.public },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ItemAttributes>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ItemAttributes>(
"ItemAttributes", "ItemAttributes",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1585,10 +1561,7 @@ impl ::protobuf::Message for ItemAttributes {
} }
fn default_instance() -> &'static ItemAttributes { fn default_instance() -> &'static ItemAttributes {
static mut instance: ::protobuf::lazy::Lazy<ItemAttributes> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ItemAttributes> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ItemAttributes,
};
unsafe { unsafe {
instance.get(ItemAttributes::new) instance.get(ItemAttributes::new)
} }
@ -1618,8 +1591,8 @@ impl ::std::fmt::Debug for ItemAttributes {
} }
impl ::protobuf::reflect::ProtobufValue for ItemAttributes { impl ::protobuf::reflect::ProtobufValue for ItemAttributes {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1797,10 +1770,7 @@ impl ::protobuf::Message for StringAttribute {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1814,7 +1784,7 @@ impl ::protobuf::Message for StringAttribute {
|m: &StringAttribute| { &m.value }, |m: &StringAttribute| { &m.value },
|m: &mut StringAttribute| { &mut m.value }, |m: &mut StringAttribute| { &mut m.value },
)); ));
::protobuf::reflect::MessageDescriptor::new::<StringAttribute>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<StringAttribute>(
"StringAttribute", "StringAttribute",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1824,10 +1794,7 @@ impl ::protobuf::Message for StringAttribute {
} }
fn default_instance() -> &'static StringAttribute { fn default_instance() -> &'static StringAttribute {
static mut instance: ::protobuf::lazy::Lazy<StringAttribute> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<StringAttribute> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const StringAttribute,
};
unsafe { unsafe {
instance.get(StringAttribute::new) instance.get(StringAttribute::new)
} }
@ -1849,8 +1816,8 @@ impl ::std::fmt::Debug for StringAttribute {
} }
impl ::protobuf::reflect::ProtobufValue for StringAttribute { impl ::protobuf::reflect::ProtobufValue for StringAttribute {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1979,10 +1946,7 @@ impl ::protobuf::Message for StringAttributes {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1991,7 +1955,7 @@ impl ::protobuf::Message for StringAttributes {
|m: &StringAttributes| { &m.attribute }, |m: &StringAttributes| { &m.attribute },
|m: &mut StringAttributes| { &mut m.attribute }, |m: &mut StringAttributes| { &mut m.attribute },
)); ));
::protobuf::reflect::MessageDescriptor::new::<StringAttributes>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<StringAttributes>(
"StringAttributes", "StringAttributes",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -2001,10 +1965,7 @@ impl ::protobuf::Message for StringAttributes {
} }
fn default_instance() -> &'static StringAttributes { fn default_instance() -> &'static StringAttributes {
static mut instance: ::protobuf::lazy::Lazy<StringAttributes> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<StringAttributes> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const StringAttributes,
};
unsafe { unsafe {
instance.get(StringAttributes::new) instance.get(StringAttributes::new)
} }
@ -2025,8 +1986,8 @@ impl ::std::fmt::Debug for StringAttributes {
} }
impl ::protobuf::reflect::ProtobufValue for StringAttributes { impl ::protobuf::reflect::ProtobufValue for StringAttributes {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -2056,10 +2017,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
tribute\x18\x01\x20\x03(\x0b2\x10.StringAttributeB\0:\0B\0b\x06proto2\ tribute\x18\x01\x20\x03(\x0b2\x10.StringAttributeB\0:\0B\0b\x06proto2\
"; ";
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()

View file

@ -1,7 +1,7 @@
// This file is generated by rust-protobuf 2.8.1. Do not edit // This file is generated by rust-protobuf 2.14.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)] #![allow(unknown_lints)]
#![allow(clippy::all)] #![allow(clippy::all)]
@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
/// Generated files are compatible only with the same version /// Generated files are compatible only with the same version
/// of protobuf runtime. /// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_1; // const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct Add { pub struct Add {
@ -301,10 +301,7 @@ impl ::protobuf::Message for Add {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -333,7 +330,7 @@ impl ::protobuf::Message for Add {
|m: &Add| { &m.addFirst }, |m: &Add| { &m.addFirst },
|m: &mut Add| { &mut m.addFirst }, |m: &mut Add| { &mut m.addFirst },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Add>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Add>(
"Add", "Add",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -343,10 +340,7 @@ impl ::protobuf::Message for Add {
} }
fn default_instance() -> &'static Add { fn default_instance() -> &'static Add {
static mut instance: ::protobuf::lazy::Lazy<Add> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Add> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Add,
};
unsafe { unsafe {
instance.get(Add::new) instance.get(Add::new)
} }
@ -371,8 +365,8 @@ impl ::std::fmt::Debug for Add {
} }
impl ::protobuf::reflect::ProtobufValue for Add { impl ::protobuf::reflect::ProtobufValue for Add {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -753,10 +747,7 @@ impl ::protobuf::Message for Rem {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -795,7 +786,7 @@ impl ::protobuf::Message for Rem {
|m: &Rem| { &m.itemsAsKey }, |m: &Rem| { &m.itemsAsKey },
|m: &mut Rem| { &mut m.itemsAsKey }, |m: &mut Rem| { &mut m.itemsAsKey },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Rem>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Rem>(
"Rem", "Rem",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -805,10 +796,7 @@ impl ::protobuf::Message for Rem {
} }
fn default_instance() -> &'static Rem { fn default_instance() -> &'static Rem {
static mut instance: ::protobuf::lazy::Lazy<Rem> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Rem> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Rem,
};
unsafe { unsafe {
instance.get(Rem::new) instance.get(Rem::new)
} }
@ -835,8 +823,8 @@ impl ::std::fmt::Debug for Rem {
} }
impl ::protobuf::reflect::ProtobufValue for Rem { impl ::protobuf::reflect::ProtobufValue for Rem {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1174,10 +1162,7 @@ impl ::protobuf::Message for Mov {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1211,7 +1196,7 @@ impl ::protobuf::Message for Mov {
|m: &Mov| { &m.uris_checksum }, |m: &Mov| { &m.uris_checksum },
|m: &mut Mov| { &mut m.uris_checksum }, |m: &mut Mov| { &mut m.uris_checksum },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Mov>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Mov>(
"Mov", "Mov",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1221,10 +1206,7 @@ impl ::protobuf::Message for Mov {
} }
fn default_instance() -> &'static Mov { fn default_instance() -> &'static Mov {
static mut instance: ::protobuf::lazy::Lazy<Mov> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Mov> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Mov,
};
unsafe { unsafe {
instance.get(Mov::new) instance.get(Mov::new)
} }
@ -1250,8 +1232,8 @@ impl ::std::fmt::Debug for Mov {
} }
impl ::protobuf::reflect::ProtobufValue for Mov { impl ::protobuf::reflect::ProtobufValue for Mov {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1423,10 +1405,7 @@ impl ::protobuf::Message for ItemAttributesPartialState {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1440,7 +1419,7 @@ impl ::protobuf::Message for ItemAttributesPartialState {
|m: &ItemAttributesPartialState| { &m.no_value }, |m: &ItemAttributesPartialState| { &m.no_value },
|m: &mut ItemAttributesPartialState| { &mut m.no_value }, |m: &mut ItemAttributesPartialState| { &mut m.no_value },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ItemAttributesPartialState>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ItemAttributesPartialState>(
"ItemAttributesPartialState", "ItemAttributesPartialState",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1450,10 +1429,7 @@ impl ::protobuf::Message for ItemAttributesPartialState {
} }
fn default_instance() -> &'static ItemAttributesPartialState { fn default_instance() -> &'static ItemAttributesPartialState {
static mut instance: ::protobuf::lazy::Lazy<ItemAttributesPartialState> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ItemAttributesPartialState> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ItemAttributesPartialState,
};
unsafe { unsafe {
instance.get(ItemAttributesPartialState::new) instance.get(ItemAttributesPartialState::new)
} }
@ -1475,8 +1451,8 @@ impl ::std::fmt::Debug for ItemAttributesPartialState {
} }
impl ::protobuf::reflect::ProtobufValue for ItemAttributesPartialState { impl ::protobuf::reflect::ProtobufValue for ItemAttributesPartialState {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1535,13 +1511,10 @@ impl ::protobuf::ProtobufEnum for ItemAttributesPartialState_ItemAttributeKind {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("ItemAttributesPartialState_ItemAttributeKind", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<ItemAttributesPartialState_ItemAttributeKind>("ItemAttributesPartialState.ItemAttributeKind", file_descriptor_proto())
}) })
} }
} }
@ -1557,8 +1530,8 @@ impl ::std::default::Default for ItemAttributesPartialState_ItemAttributeKind {
} }
impl ::protobuf::reflect::ProtobufValue for ItemAttributesPartialState_ItemAttributeKind { impl ::protobuf::reflect::ProtobufValue for ItemAttributesPartialState_ItemAttributeKind {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -1730,10 +1703,7 @@ impl ::protobuf::Message for ListAttributesPartialState {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1747,7 +1717,7 @@ impl ::protobuf::Message for ListAttributesPartialState {
|m: &ListAttributesPartialState| { &m.no_value }, |m: &ListAttributesPartialState| { &m.no_value },
|m: &mut ListAttributesPartialState| { &mut m.no_value }, |m: &mut ListAttributesPartialState| { &mut m.no_value },
)); ));
::protobuf::reflect::MessageDescriptor::new::<ListAttributesPartialState>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListAttributesPartialState>(
"ListAttributesPartialState", "ListAttributesPartialState",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1757,10 +1727,7 @@ impl ::protobuf::Message for ListAttributesPartialState {
} }
fn default_instance() -> &'static ListAttributesPartialState { fn default_instance() -> &'static ListAttributesPartialState {
static mut instance: ::protobuf::lazy::Lazy<ListAttributesPartialState> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<ListAttributesPartialState> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ListAttributesPartialState,
};
unsafe { unsafe {
instance.get(ListAttributesPartialState::new) instance.get(ListAttributesPartialState::new)
} }
@ -1782,8 +1749,8 @@ impl ::std::fmt::Debug for ListAttributesPartialState {
} }
impl ::protobuf::reflect::ProtobufValue for ListAttributesPartialState { impl ::protobuf::reflect::ProtobufValue for ListAttributesPartialState {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1833,13 +1800,10 @@ impl ::protobuf::ProtobufEnum for ListAttributesPartialState_ListAttributeKind {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("ListAttributesPartialState_ListAttributeKind", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<ListAttributesPartialState_ListAttributeKind>("ListAttributesPartialState.ListAttributeKind", file_descriptor_proto())
}) })
} }
} }
@ -1855,8 +1819,8 @@ impl ::std::default::Default for ListAttributesPartialState_ListAttributeKind {
} }
impl ::protobuf::reflect::ProtobufValue for ListAttributesPartialState_ListAttributeKind { impl ::protobuf::reflect::ProtobufValue for ListAttributesPartialState_ListAttributeKind {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -2179,10 +2143,7 @@ impl ::protobuf::Message for UpdateItemAttributes {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -2211,7 +2172,7 @@ impl ::protobuf::Message for UpdateItemAttributes {
|m: &UpdateItemAttributes| { &m.old_attributes_checksum }, |m: &UpdateItemAttributes| { &m.old_attributes_checksum },
|m: &mut UpdateItemAttributes| { &mut m.old_attributes_checksum }, |m: &mut UpdateItemAttributes| { &mut m.old_attributes_checksum },
)); ));
::protobuf::reflect::MessageDescriptor::new::<UpdateItemAttributes>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<UpdateItemAttributes>(
"UpdateItemAttributes", "UpdateItemAttributes",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -2221,10 +2182,7 @@ impl ::protobuf::Message for UpdateItemAttributes {
} }
fn default_instance() -> &'static UpdateItemAttributes { fn default_instance() -> &'static UpdateItemAttributes {
static mut instance: ::protobuf::lazy::Lazy<UpdateItemAttributes> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<UpdateItemAttributes> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const UpdateItemAttributes,
};
unsafe { unsafe {
instance.get(UpdateItemAttributes::new) instance.get(UpdateItemAttributes::new)
} }
@ -2249,8 +2207,8 @@ impl ::std::fmt::Debug for UpdateItemAttributes {
} }
impl ::protobuf::reflect::ProtobufValue for UpdateItemAttributes { impl ::protobuf::reflect::ProtobufValue for UpdateItemAttributes {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -2540,10 +2498,7 @@ impl ::protobuf::Message for UpdateListAttributes {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -2567,7 +2522,7 @@ impl ::protobuf::Message for UpdateListAttributes {
|m: &UpdateListAttributes| { &m.old_attributes_checksum }, |m: &UpdateListAttributes| { &m.old_attributes_checksum },
|m: &mut UpdateListAttributes| { &mut m.old_attributes_checksum }, |m: &mut UpdateListAttributes| { &mut m.old_attributes_checksum },
)); ));
::protobuf::reflect::MessageDescriptor::new::<UpdateListAttributes>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<UpdateListAttributes>(
"UpdateListAttributes", "UpdateListAttributes",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -2577,10 +2532,7 @@ impl ::protobuf::Message for UpdateListAttributes {
} }
fn default_instance() -> &'static UpdateListAttributes { fn default_instance() -> &'static UpdateListAttributes {
static mut instance: ::protobuf::lazy::Lazy<UpdateListAttributes> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<UpdateListAttributes> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const UpdateListAttributes,
};
unsafe { unsafe {
instance.get(UpdateListAttributes::new) instance.get(UpdateListAttributes::new)
} }
@ -2604,8 +2556,8 @@ impl ::std::fmt::Debug for UpdateListAttributes {
} }
impl ::protobuf::reflect::ProtobufValue for UpdateListAttributes { impl ::protobuf::reflect::ProtobufValue for UpdateListAttributes {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -2975,10 +2927,7 @@ impl ::protobuf::Message for Op {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -3012,7 +2961,7 @@ impl ::protobuf::Message for Op {
|m: &Op| { &m.update_list_attributes }, |m: &Op| { &m.update_list_attributes },
|m: &mut Op| { &mut m.update_list_attributes }, |m: &mut Op| { &mut m.update_list_attributes },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Op>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Op>(
"Op", "Op",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -3022,10 +2971,7 @@ impl ::protobuf::Message for Op {
} }
fn default_instance() -> &'static Op { fn default_instance() -> &'static Op {
static mut instance: ::protobuf::lazy::Lazy<Op> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Op> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Op,
};
unsafe { unsafe {
instance.get(Op::new) instance.get(Op::new)
} }
@ -3051,8 +2997,8 @@ impl ::std::fmt::Debug for Op {
} }
impl ::protobuf::reflect::ProtobufValue for Op { impl ::protobuf::reflect::ProtobufValue for Op {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3096,13 +3042,10 @@ impl ::protobuf::ProtobufEnum for Op_Kind {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("Op_Kind", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<Op_Kind>("Op.Kind", file_descriptor_proto())
}) })
} }
} }
@ -3118,8 +3061,8 @@ impl ::std::default::Default for Op_Kind {
} }
impl ::protobuf::reflect::ProtobufValue for Op_Kind { impl ::protobuf::reflect::ProtobufValue for Op_Kind {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -3248,10 +3191,7 @@ impl ::protobuf::Message for OpList {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -3260,7 +3200,7 @@ impl ::protobuf::Message for OpList {
|m: &OpList| { &m.ops }, |m: &OpList| { &m.ops },
|m: &mut OpList| { &mut m.ops }, |m: &mut OpList| { &mut m.ops },
)); ));
::protobuf::reflect::MessageDescriptor::new::<OpList>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<OpList>(
"OpList", "OpList",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -3270,10 +3210,7 @@ impl ::protobuf::Message for OpList {
} }
fn default_instance() -> &'static OpList { fn default_instance() -> &'static OpList {
static mut instance: ::protobuf::lazy::Lazy<OpList> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<OpList> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const OpList,
};
unsafe { unsafe {
instance.get(OpList::new) instance.get(OpList::new)
} }
@ -3294,8 +3231,8 @@ impl ::std::fmt::Debug for OpList {
} }
impl ::protobuf::reflect::ProtobufValue for OpList { impl ::protobuf::reflect::ProtobufValue for OpList {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3353,10 +3290,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x18\x01\x20\x03(\x0b2\x03.OpB\0:\0B\0b\x06proto2\ \x18\x01\x20\x03(\x0b2\x03.OpB\0:\0B\0b\x06proto2\
"; ";
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()

View file

@ -1,7 +1,7 @@
// This file is generated by rust-protobuf 2.8.1. Do not edit // This file is generated by rust-protobuf 2.14.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)] #![allow(unknown_lints)]
#![allow(clippy::all)] #![allow(clippy::all)]
@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
/// Generated files are compatible only with the same version /// Generated files are compatible only with the same version
/// of protobuf runtime. /// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_1; // const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct Subscription { pub struct Subscription {
@ -220,10 +220,7 @@ impl ::protobuf::Message for Subscription {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -242,7 +239,7 @@ impl ::protobuf::Message for Subscription {
|m: &Subscription| { &m.status_code }, |m: &Subscription| { &m.status_code },
|m: &mut Subscription| { &mut m.status_code }, |m: &mut Subscription| { &mut m.status_code },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Subscription>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Subscription>(
"Subscription", "Subscription",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -252,10 +249,7 @@ impl ::protobuf::Message for Subscription {
} }
fn default_instance() -> &'static Subscription { fn default_instance() -> &'static Subscription {
static mut instance: ::protobuf::lazy::Lazy<Subscription> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Subscription> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Subscription,
};
unsafe { unsafe {
instance.get(Subscription::new) instance.get(Subscription::new)
} }
@ -278,8 +272,8 @@ impl ::std::fmt::Debug for Subscription {
} }
impl ::protobuf::reflect::ProtobufValue for Subscription { impl ::protobuf::reflect::ProtobufValue for Subscription {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -289,10 +283,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
us_code\x18\x03\x20\x01(\x05B\0:\0B\0b\x06proto2\ us_code\x18\x03\x20\x01(\x05B\0:\0B\0b\x06proto2\
"; ";
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()

View file

@ -1,7 +1,7 @@
// This file is generated by rust-protobuf 2.8.1. Do not edit // This file is generated by rust-protobuf 2.14.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)] #![allow(unknown_lints)]
#![allow(clippy::all)] #![allow(clippy::all)]
@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
/// Generated files are compatible only with the same version /// Generated files are compatible only with the same version
/// of protobuf runtime. /// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_1; // const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct Frame { pub struct Frame {
@ -725,10 +725,7 @@ impl ::protobuf::Message for Frame {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -807,7 +804,7 @@ impl ::protobuf::Message for Frame {
|m: &Frame| { &m.metadata }, |m: &Frame| { &m.metadata },
|m: &mut Frame| { &mut m.metadata }, |m: &mut Frame| { &mut m.metadata },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Frame>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Frame>(
"Frame", "Frame",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -817,10 +814,7 @@ impl ::protobuf::Message for Frame {
} }
fn default_instance() -> &'static Frame { fn default_instance() -> &'static Frame {
static mut instance: ::protobuf::lazy::Lazy<Frame> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Frame> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Frame,
};
unsafe { unsafe {
instance.get(Frame::new) instance.get(Frame::new)
} }
@ -855,8 +849,8 @@ impl ::std::fmt::Debug for Frame {
} }
impl ::protobuf::reflect::ProtobufValue for Frame { impl ::protobuf::reflect::ProtobufValue for Frame {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1377,10 +1371,7 @@ impl ::protobuf::Message for DeviceState {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1439,7 +1430,7 @@ impl ::protobuf::Message for DeviceState {
|m: &DeviceState| { &m.metadata }, |m: &DeviceState| { &m.metadata },
|m: &mut DeviceState| { &mut m.metadata }, |m: &mut DeviceState| { &mut m.metadata },
)); ));
::protobuf::reflect::MessageDescriptor::new::<DeviceState>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<DeviceState>(
"DeviceState", "DeviceState",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1449,10 +1440,7 @@ impl ::protobuf::Message for DeviceState {
} }
fn default_instance() -> &'static DeviceState { fn default_instance() -> &'static DeviceState {
static mut instance: ::protobuf::lazy::Lazy<DeviceState> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<DeviceState> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const DeviceState,
};
unsafe { unsafe {
instance.get(DeviceState::new) instance.get(DeviceState::new)
} }
@ -1483,8 +1471,8 @@ impl ::std::fmt::Debug for DeviceState {
} }
impl ::protobuf::reflect::ProtobufValue for DeviceState { impl ::protobuf::reflect::ProtobufValue for DeviceState {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1669,10 +1657,7 @@ impl ::protobuf::Message for Capability {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1691,7 +1676,7 @@ impl ::protobuf::Message for Capability {
|m: &Capability| { &m.stringValue }, |m: &Capability| { &m.stringValue },
|m: &mut Capability| { &mut m.stringValue }, |m: &mut Capability| { &mut m.stringValue },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Capability>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Capability>(
"Capability", "Capability",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1701,10 +1686,7 @@ impl ::protobuf::Message for Capability {
} }
fn default_instance() -> &'static Capability { fn default_instance() -> &'static Capability {
static mut instance: ::protobuf::lazy::Lazy<Capability> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Capability> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Capability,
};
unsafe { unsafe {
instance.get(Capability::new) instance.get(Capability::new)
} }
@ -1727,8 +1709,8 @@ impl ::std::fmt::Debug for Capability {
} }
impl ::protobuf::reflect::ProtobufValue for Capability { impl ::protobuf::reflect::ProtobufValue for Capability {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -1860,10 +1842,7 @@ impl ::protobuf::Message for Goodbye {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -1872,7 +1851,7 @@ impl ::protobuf::Message for Goodbye {
|m: &Goodbye| { &m.reason }, |m: &Goodbye| { &m.reason },
|m: &mut Goodbye| { &mut m.reason }, |m: &mut Goodbye| { &mut m.reason },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Goodbye>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Goodbye>(
"Goodbye", "Goodbye",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -1882,10 +1861,7 @@ impl ::protobuf::Message for Goodbye {
} }
fn default_instance() -> &'static Goodbye { fn default_instance() -> &'static Goodbye {
static mut instance: ::protobuf::lazy::Lazy<Goodbye> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Goodbye> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Goodbye,
};
unsafe { unsafe {
instance.get(Goodbye::new) instance.get(Goodbye::new)
} }
@ -1906,8 +1882,8 @@ impl ::std::fmt::Debug for Goodbye {
} }
impl ::protobuf::reflect::ProtobufValue for Goodbye { impl ::protobuf::reflect::ProtobufValue for Goodbye {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -2551,10 +2527,7 @@ impl ::protobuf::Message for State {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -2633,7 +2606,7 @@ impl ::protobuf::Message for State {
|m: &State| { &m.ad }, |m: &State| { &m.ad },
|m: &mut State| { &mut m.ad }, |m: &mut State| { &mut m.ad },
)); ));
::protobuf::reflect::MessageDescriptor::new::<State>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<State>(
"State", "State",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -2643,10 +2616,7 @@ impl ::protobuf::Message for State {
} }
fn default_instance() -> &'static State { fn default_instance() -> &'static State {
static mut instance: ::protobuf::lazy::Lazy<State> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<State> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const State,
};
unsafe { unsafe {
instance.get(State::new) instance.get(State::new)
} }
@ -2681,8 +2651,8 @@ impl ::std::fmt::Debug for State {
} }
impl ::protobuf::reflect::ProtobufValue for State { impl ::protobuf::reflect::ProtobufValue for State {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -2939,10 +2909,7 @@ impl ::protobuf::Message for TrackRef {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -2966,7 +2933,7 @@ impl ::protobuf::Message for TrackRef {
|m: &TrackRef| { &m.context }, |m: &TrackRef| { &m.context },
|m: &mut TrackRef| { &mut m.context }, |m: &mut TrackRef| { &mut m.context },
)); ));
::protobuf::reflect::MessageDescriptor::new::<TrackRef>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<TrackRef>(
"TrackRef", "TrackRef",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -2976,10 +2943,7 @@ impl ::protobuf::Message for TrackRef {
} }
fn default_instance() -> &'static TrackRef { fn default_instance() -> &'static TrackRef {
static mut instance: ::protobuf::lazy::Lazy<TrackRef> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<TrackRef> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const TrackRef,
};
unsafe { unsafe {
instance.get(TrackRef::new) instance.get(TrackRef::new)
} }
@ -3003,8 +2967,8 @@ impl ::std::fmt::Debug for TrackRef {
} }
impl ::protobuf::reflect::ProtobufValue for TrackRef { impl ::protobuf::reflect::ProtobufValue for TrackRef {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3478,10 +3442,7 @@ impl ::protobuf::Message for Ad {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -3530,7 +3491,7 @@ impl ::protobuf::Message for Ad {
|m: &Ad| { &m.gid }, |m: &Ad| { &m.gid },
|m: &mut Ad| { &mut m.gid }, |m: &mut Ad| { &mut m.gid },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Ad>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Ad>(
"Ad", "Ad",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -3540,10 +3501,7 @@ impl ::protobuf::Message for Ad {
} }
fn default_instance() -> &'static Ad { fn default_instance() -> &'static Ad {
static mut instance: ::protobuf::lazy::Lazy<Ad> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Ad> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Ad,
};
unsafe { unsafe {
instance.get(Ad::new) instance.get(Ad::new)
} }
@ -3572,8 +3530,8 @@ impl ::std::fmt::Debug for Ad {
} }
impl ::protobuf::reflect::ProtobufValue for Ad { impl ::protobuf::reflect::ProtobufValue for Ad {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3751,10 +3709,7 @@ impl ::protobuf::Message for Metadata {
} }
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
let mut fields = ::std::vec::Vec::new(); let mut fields = ::std::vec::Vec::new();
@ -3768,7 +3723,7 @@ impl ::protobuf::Message for Metadata {
|m: &Metadata| { &m.metadata }, |m: &Metadata| { &m.metadata },
|m: &mut Metadata| { &mut m.metadata }, |m: &mut Metadata| { &mut m.metadata },
)); ));
::protobuf::reflect::MessageDescriptor::new::<Metadata>( ::protobuf::reflect::MessageDescriptor::new_pb_name::<Metadata>(
"Metadata", "Metadata",
fields, fields,
file_descriptor_proto() file_descriptor_proto()
@ -3778,10 +3733,7 @@ impl ::protobuf::Message for Metadata {
} }
fn default_instance() -> &'static Metadata { fn default_instance() -> &'static Metadata {
static mut instance: ::protobuf::lazy::Lazy<Metadata> = ::protobuf::lazy::Lazy { static mut instance: ::protobuf::lazy::Lazy<Metadata> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Metadata,
};
unsafe { unsafe {
instance.get(Metadata::new) instance.get(Metadata::new)
} }
@ -3803,8 +3755,8 @@ impl ::std::fmt::Debug for Metadata {
} }
impl ::protobuf::reflect::ProtobufValue for Metadata { impl ::protobuf::reflect::ProtobufValue for Metadata {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self) ::protobuf::reflect::ReflectValueRef::Message(self)
} }
} }
@ -3893,13 +3845,10 @@ impl ::protobuf::ProtobufEnum for MessageType {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("MessageType", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<MessageType>("MessageType", file_descriptor_proto())
}) })
} }
} }
@ -3916,8 +3865,8 @@ impl ::std::default::Default for MessageType {
} }
impl ::protobuf::reflect::ProtobufValue for MessageType { impl ::protobuf::reflect::ProtobufValue for MessageType {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -3985,13 +3934,10 @@ impl ::protobuf::ProtobufEnum for CapabilityType {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("CapabilityType", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<CapabilityType>("CapabilityType", file_descriptor_proto())
}) })
} }
} }
@ -4008,8 +3954,8 @@ impl ::std::default::Default for CapabilityType {
} }
impl ::protobuf::reflect::ProtobufValue for CapabilityType { impl ::protobuf::reflect::ProtobufValue for CapabilityType {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -4047,13 +3993,10 @@ impl ::protobuf::ProtobufEnum for PlayStatus {
} }
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
};
unsafe { unsafe {
descriptor.get(|| { descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new("PlayStatus", file_descriptor_proto()) ::protobuf::reflect::EnumDescriptor::new_pb_name::<PlayStatus>("PlayStatus", file_descriptor_proto())
}) })
} }
} }
@ -4069,8 +4012,8 @@ impl ::std::default::Default for PlayStatus {
} }
impl ::protobuf::reflect::ProtobufValue for PlayStatus { impl ::protobuf::reflect::ProtobufValue for PlayStatus {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor())
} }
} }
@ -4143,10 +4086,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
se\x10\x02\x12\x16\n\x12kPlayStatusLoading\x10\x03\x1a\0B\0b\x06proto2\ se\x10\x02\x12\x16\n\x12kPlayStatusLoading\x10\x03\x1a\0B\0b\x06proto2\
"; ";
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()