Merge pull request #356 from tstenner/updateprotobuf

Automatic update to protobuf 2.8, regenerate protocol files
This commit is contained in:
Sasha Hilton 2019-08-19 17:16:31 +01:00 committed by GitHub
commit d4bba4dac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 593 additions and 613 deletions

430
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -40,7 +40,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.7" protobuf = "2.8.*"
rand = "0.7" rand = "0.7"
rpassword = "3.0" rpassword = "3.0"
tokio-core = "0.1" tokio-core = "0.1"

View file

@ -16,7 +16,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.7" protobuf = "2.8.*"
rand = "0.7" rand = "0.7"
serde = "1.0" serde = "1.0"
serde_derive = "1.0" serde_derive = "1.0"

View file

@ -22,7 +22,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.7" protobuf = "2.8.*"
rand = "0.7" rand = "0.7"
serde = "1.0" serde = "1.0"
serde_derive = "1.0" serde_derive = "1.0"

View file

@ -7,7 +7,7 @@ authors = ["Paul Lietar <paul@lietar.net>"]
byteorder = "1.3" byteorder = "1.3"
futures = "0.1" futures = "0.1"
linear-map = "1.2" linear-map = "1.2"
protobuf = "2.7" protobuf = "2.8.*"
[dependencies.librespot-core] [dependencies.librespot-core]
path = "../core" path = "../core"

View file

@ -5,7 +5,7 @@ authors = ["Paul Liétar <paul@lietar.net>"]
build = "build.rs" build = "build.rs"
[dependencies] [dependencies]
protobuf = "2.7" protobuf = "2.8.*"
[build-dependencies] [build-dependencies]
protobuf-codegen-pure = "2.7" protobuf-codegen-pure = "2.8.*"

View file

@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.7.0. Do not edit // This file is generated by rust-protobuf 2.8.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/Manishearth/rust-clippy/issues/702
@ -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_7_0; const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct ClientResponseEncrypted { pub struct ClientResponseEncrypted {
@ -522,13 +522,13 @@ impl ::protobuf::Message for ClientResponseEncrypted {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -827,13 +827,13 @@ impl ::protobuf::Message for LoginCredentials {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1074,13 +1074,13 @@ impl ::protobuf::Message for FingerprintResponseUnion {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1262,13 +1262,13 @@ impl ::protobuf::Message for FingerprintGrainResponse {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1444,13 +1444,13 @@ impl ::protobuf::Message for FingerprintHmacRipemdResponse {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1679,13 +1679,13 @@ impl ::protobuf::Message for PeerTicketUnion {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1867,13 +1867,13 @@ impl ::protobuf::Message for PeerTicketPublicKey {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -2098,13 +2098,13 @@ impl ::protobuf::Message for PeerTicketOld {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -2587,13 +2587,13 @@ impl ::protobuf::Message for SystemInfo {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3006,13 +3006,13 @@ impl ::protobuf::Message for LibspotifyAppKey {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3293,13 +3293,13 @@ impl ::protobuf::Message for ClientInfo {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3484,13 +3484,13 @@ impl ::protobuf::Message for ClientInfoFacebook {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3959,13 +3959,13 @@ impl ::protobuf::Message for APWelcome {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4236,13 +4236,13 @@ impl ::protobuf::Message for AccountInfo {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4374,13 +4374,13 @@ impl ::protobuf::Message for AccountInfoSpotify {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4593,13 +4593,13 @@ impl ::protobuf::Message for AccountInfoFacebook {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }

View file

@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.7.0. Do not edit // This file is generated by rust-protobuf 2.8.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/Manishearth/rust-clippy/issues/702
@ -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_7_0; const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct ClientHello { pub struct ClientHello {
@ -448,13 +448,13 @@ impl ::protobuf::Message for ClientHello {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -758,13 +758,13 @@ impl ::protobuf::Message for BuildInfo {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -960,13 +960,13 @@ impl ::protobuf::Message for LoginCryptoHelloUnion {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1178,13 +1178,13 @@ impl ::protobuf::Message for LoginCryptoDiffieHellmanHello {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1383,13 +1383,13 @@ impl ::protobuf::Message for FeatureSet {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1675,13 +1675,13 @@ impl ::protobuf::Message for APResponseMessage {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -2131,13 +2131,13 @@ impl ::protobuf::Message for APChallenge {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -2345,13 +2345,13 @@ impl ::protobuf::Message for LoginCryptoChallengeUnion {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -2612,13 +2612,13 @@ impl ::protobuf::Message for LoginCryptoDiffieHellmanChallenge {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -2859,13 +2859,13 @@ impl ::protobuf::Message for FingerprintChallengeUnion {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3047,13 +3047,13 @@ impl ::protobuf::Message for FingerprintGrainChallenge {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3229,13 +3229,13 @@ impl ::protobuf::Message for FingerprintHmacRipemdChallenge {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3413,13 +3413,13 @@ impl ::protobuf::Message for PoWChallengeUnion {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3658,13 +3658,13 @@ impl ::protobuf::Message for PoWHashCashChallenge {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3905,13 +3905,13 @@ impl ::protobuf::Message for CryptoChallengeUnion {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4043,13 +4043,13 @@ impl ::protobuf::Message for CryptoShannonChallenge {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4169,13 +4169,13 @@ impl ::protobuf::Message for CryptoRc4Sha1HmacChallenge {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4440,13 +4440,13 @@ impl ::protobuf::Message for UpgradeRequiredMessage {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4729,13 +4729,13 @@ impl ::protobuf::Message for APLoginFailed {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -5042,13 +5042,13 @@ impl ::protobuf::Message for ClientResponsePlaintext {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -5238,13 +5238,13 @@ impl ::protobuf::Message for LoginCryptoResponseUnion {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -5420,13 +5420,13 @@ impl ::protobuf::Message for LoginCryptoDiffieHellmanResponse {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -5604,13 +5604,13 @@ impl ::protobuf::Message for PoWResponseUnion {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -5786,13 +5786,13 @@ impl ::protobuf::Message for PoWHashCashResponse {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -6021,13 +6021,13 @@ impl ::protobuf::Message for CryptoResponseUnion {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -6193,13 +6193,13 @@ impl ::protobuf::Message for CryptoShannonResponse {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -6359,13 +6359,13 @@ impl ::protobuf::Message for CryptoRc4Sha1HmacResponse {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }

View file

@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.7.0. Do not edit // This file is generated by rust-protobuf 2.8.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/Manishearth/rust-clippy/issues/702
@ -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_7_0; const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct MercuryMultiGetRequest { pub struct MercuryMultiGetRequest {
@ -132,13 +132,13 @@ impl ::protobuf::Message for MercuryMultiGetRequest {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -308,13 +308,13 @@ impl ::protobuf::Message for MercuryMultiGetReply {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -625,13 +625,13 @@ impl ::protobuf::Message for MercuryRequest {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1055,13 +1055,13 @@ impl ::protobuf::Message for MercuryReply {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1497,13 +1497,13 @@ impl ::protobuf::Message for Header {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1746,13 +1746,13 @@ impl ::protobuf::Message for UserField {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }

View file

@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.7.0. Do not edit // This file is generated by rust-protobuf 2.8.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/Manishearth/rust-clippy/issues/702
@ -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_7_0; const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct TopTracks { pub struct TopTracks {
@ -178,13 +178,13 @@ impl ::protobuf::Message for TopTracks {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -416,13 +416,13 @@ impl ::protobuf::Message for ActivityPeriod {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1278,13 +1278,13 @@ impl ::protobuf::Message for Artist {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1550,13 +1550,13 @@ impl ::protobuf::Message for AlbumGroup {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1782,13 +1782,13 @@ impl ::protobuf::Message for Date {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -2643,13 +2643,13 @@ impl ::protobuf::Message for Album {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3543,13 +3543,13 @@ impl ::protobuf::Message for Track {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3901,13 +3901,13 @@ impl ::protobuf::Message for Image {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4156,13 +4156,13 @@ impl ::protobuf::Message for ImageGroup {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4421,13 +4421,13 @@ impl ::protobuf::Message for Biography {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4688,13 +4688,13 @@ impl ::protobuf::Message for Disc {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -4908,13 +4908,13 @@ impl ::protobuf::Message for Copyright {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -5258,13 +5258,13 @@ impl ::protobuf::Message for Restriction {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -5606,13 +5606,13 @@ impl ::protobuf::Message for SalePeriod {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -5843,13 +5843,13 @@ impl ::protobuf::Message for ExternalId {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -6057,13 +6057,13 @@ impl ::protobuf::Message for AudioFile {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }

View file

@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.7.0. Do not edit // This file is generated by rust-protobuf 2.8.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/Manishearth/rust-clippy/issues/702
@ -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_7_0; const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct Subscription { pub struct Subscription {
@ -201,13 +201,13 @@ impl ::protobuf::Message for Subscription {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }

View file

@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.7.0. Do not edit // This file is generated by rust-protobuf 2.8.0. Do not edit
// @generated // @generated
// https://github.com/Manishearth/rust-clippy/issues/702 // https://github.com/Manishearth/rust-clippy/issues/702
@ -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_7_0; const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_8_0;
#[derive(PartialEq,Clone,Default)] #[derive(PartialEq,Clone,Default)]
pub struct Frame { pub struct Frame {
@ -706,13 +706,13 @@ impl ::protobuf::Message for Frame {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1358,13 +1358,13 @@ impl ::protobuf::Message for DeviceState {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1650,13 +1650,13 @@ impl ::protobuf::Message for Capability {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -1841,13 +1841,13 @@ impl ::protobuf::Message for Goodbye {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -2532,13 +2532,13 @@ impl ::protobuf::Message for State {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -2920,13 +2920,13 @@ impl ::protobuf::Message for TrackRef {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3459,13 +3459,13 @@ impl ::protobuf::Message for Ad {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }
@ -3732,13 +3732,13 @@ impl ::protobuf::Message for Metadata {
&mut self.unknown_fields &mut self.unknown_fields
} }
fn as_any(&self) -> &::std::any::Any { fn as_any(&self) -> &dyn (::std::any::Any) {
self as &::std::any::Any self as &dyn (::std::any::Any)
} }
fn as_any_mut(&mut self) -> &mut ::std::any::Any { fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut ::std::any::Any self as &mut dyn (::std::any::Any)
} }
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> { fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self self
} }