diff --git a/bots/bots.rs b/bots/bots.rs index 661fd01..286883e 100644 --- a/bots/bots.rs +++ b/bots/bots.rs @@ -2,7 +2,7 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct IdList { #[prost(int64, repeated, tag="1")] #[serde(rename = "ID")] @@ -10,7 +10,7 @@ pub struct IdList { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -18,7 +18,7 @@ pub struct IdMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct BotResponse { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -34,7 +34,7 @@ pub struct BotResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct BotRequest { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -50,14 +50,14 @@ pub struct BotRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct BotList { #[prost(message, repeated, tag="1")] pub bots: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -66,7 +66,7 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -75,7 +75,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct NullResponse { } include!("bots.tonic.rs"); diff --git a/datastore/datastore.rs b/datastore/datastore.rs index 55f506c..d2d874b 100644 --- a/datastore/datastore.rs +++ b/datastore/datastore.rs @@ -2,14 +2,14 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct KeyMessage { #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct UpdateMessage { #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, @@ -20,7 +20,7 @@ pub struct UpdateMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ObjectResponse { #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, @@ -29,7 +29,7 @@ pub struct ObjectResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct NullResponse { } include!("datastore.tonic.rs"); diff --git a/events/events.rs b/events/events.rs index c3ae113..d0fa7cc 100644 --- a/events/events.rs +++ b/events/events.rs @@ -2,7 +2,7 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct EventCreate { #[prost(string, tag="1")] pub event: ::prost::alloc::string::String, @@ -18,7 +18,7 @@ pub struct EventCreate { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct EventItem { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -37,7 +37,7 @@ pub struct EventItem { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct LatestRequest { #[prost(int64, optional, tag="1")] pub date: ::core::option::Option, @@ -46,7 +46,7 @@ pub struct LatestRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -55,14 +55,14 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct LatestResponse { #[prost(message, repeated, tag="1")] pub events: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct NullResponse { } include!("events.tonic.rs"); diff --git a/maps/maps.rs b/maps/maps.rs index e6854d0..1168589 100644 --- a/maps/maps.rs +++ b/maps/maps.rs @@ -2,7 +2,7 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct IdList { #[prost(int64, repeated, tag="1")] #[serde(rename = "ID")] @@ -10,7 +10,7 @@ pub struct IdList { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -18,7 +18,7 @@ pub struct IdMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct MapResponse { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -35,7 +35,7 @@ pub struct MapResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct MapRequest { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -52,7 +52,7 @@ pub struct MapRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct MapFilter { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -67,14 +67,14 @@ pub struct MapFilter { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct MapList { #[prost(message, repeated, tag="1")] pub maps: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -83,7 +83,7 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -92,7 +92,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct NullResponse { } include!("maps.tonic.rs"); diff --git a/ranks/ranks.rs b/ranks/ranks.rs index f27664f..1201a57 100644 --- a/ranks/ranks.rs +++ b/ranks/ranks.rs @@ -2,7 +2,7 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -10,7 +10,7 @@ pub struct IdMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct GetRequest { #[prost(int64, tag="1")] #[serde(rename = "UserID")] @@ -30,7 +30,7 @@ pub struct GetRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ListRequest { #[prost(int32, tag="1")] #[serde(rename = "StyleID")] @@ -51,14 +51,14 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct RankList { #[prost(message, repeated, tag="1")] pub ranks: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct RankMessage { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -83,7 +83,7 @@ pub struct RankMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -92,7 +92,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct NullResponse { } include!("ranks.tonic.rs"); diff --git a/servers/servers.rs b/servers/servers.rs index 483fa0c..11969f7 100644 --- a/servers/servers.rs +++ b/servers/servers.rs @@ -2,14 +2,14 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ServerList { #[prost(message, repeated, tag="1")] pub servers: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct IdMessage { #[prost(string, tag="1")] #[serde(rename = "ID")] @@ -17,7 +17,7 @@ pub struct IdMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ServerCreate { #[prost(string, tag="1")] #[serde(rename = "ID")] @@ -47,7 +47,7 @@ pub struct ServerCreate { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ServerItem { #[prost(string, tag="1")] #[serde(rename = "ID")] @@ -76,7 +76,7 @@ pub struct ServerItem { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ServerUpdate { #[prost(string, tag="1")] #[serde(rename = "ID")] @@ -90,7 +90,7 @@ pub struct ServerUpdate { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ServerFilter { #[prost(string, optional, tag="1")] #[serde(rename = "ID")] @@ -112,7 +112,7 @@ pub struct ServerFilter { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -121,7 +121,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ServerListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -130,7 +130,7 @@ pub struct ServerListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct NullResponse { } include!("servers.tonic.rs"); diff --git a/times/times.rs b/times/times.rs index 6e76312..84de474 100644 --- a/times/times.rs +++ b/times/times.rs @@ -2,7 +2,7 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct TimeRequest { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -28,7 +28,7 @@ pub struct TimeRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct TimeFilter { #[prost(int64, optional, tag="1")] #[serde(rename = "ID")] @@ -54,7 +54,7 @@ pub struct TimeFilter { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct TimeResponse { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -81,7 +81,7 @@ pub struct TimeResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -89,7 +89,7 @@ pub struct IdMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct TimeList { #[prost(message, repeated, tag="1")] pub times: ::prost::alloc::vec::Vec, @@ -98,14 +98,14 @@ pub struct TimeList { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct RankResponse { #[prost(int64, tag="1")] pub rank: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -123,7 +123,7 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -132,7 +132,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct NullResponse { } include!("times.tonic.rs"); diff --git a/transactions/transactions.rs b/transactions/transactions.rs index 1e264fb..84ac7fd 100644 --- a/transactions/transactions.rs +++ b/transactions/transactions.rs @@ -2,7 +2,7 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct TransactionCreate { #[prost(string, tag="1")] #[serde(rename = "ID")] @@ -20,7 +20,7 @@ pub struct TransactionCreate { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct TransactionUpdate { #[prost(string, tag="1")] #[serde(rename = "ID")] @@ -35,7 +35,7 @@ pub struct TransactionUpdate { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct TransactionItem { #[prost(string, tag="1")] #[serde(rename = "ID")] @@ -56,7 +56,7 @@ pub struct TransactionItem { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct TransactionFilter { #[prost(int64, optional, tag="1")] #[serde(rename = "UserID")] @@ -67,7 +67,7 @@ pub struct TransactionFilter { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -76,7 +76,7 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -85,21 +85,21 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct TransactionList { #[prost(message, repeated, tag="1")] pub transactions: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct BalanceResponse { #[prost(int64, tag="1")] pub balance: i64, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct IdMessage { #[prost(string, tag="1")] #[serde(rename = "ID")] @@ -107,7 +107,7 @@ pub struct IdMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct UserIdMessage { #[prost(int64, tag="1")] #[serde(rename = "UserID")] @@ -115,7 +115,7 @@ pub struct UserIdMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct NullResponse { } include!("transactions.tonic.rs"); diff --git a/users/users.rs b/users/users.rs index b54906e..1318cf1 100644 --- a/users/users.rs +++ b/users/users.rs @@ -2,7 +2,7 @@ // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct IdList { #[prost(int64, repeated, tag="1")] #[serde(rename = "ID")] @@ -10,7 +10,7 @@ pub struct IdList { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct IdMessage { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -18,7 +18,7 @@ pub struct IdMessage { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct UserResponse { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -31,7 +31,7 @@ pub struct UserResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct UserRequest { #[prost(int64, tag="1")] #[serde(rename = "ID")] @@ -44,7 +44,7 @@ pub struct UserRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct UserFilter { #[prost(int64, optional, tag="1")] #[serde(rename = "ID")] @@ -57,14 +57,14 @@ pub struct UserFilter { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct UserList { #[prost(message, repeated, tag="1")] pub users: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct ListRequest { #[prost(message, optional, tag="1")] pub filter: ::core::option::Option, @@ -73,7 +73,7 @@ pub struct ListRequest { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct Pagination { #[prost(int32, tag="1")] pub size: i32, @@ -82,7 +82,7 @@ pub struct Pagination { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)] -#[serde(rename_all_fields = "PascalCase")] +#[serde(rename_all = "PascalCase")] pub struct NullResponse { } include!("users.tonic.rs");