diff --git a/src/ss/member_bank_deposit.rs b/src/ss/member_bank_deposit.rs index e3d200e..0c36c76 100644 --- a/src/ss/member_bank_deposit.rs +++ b/src/ss/member_bank_deposit.rs @@ -1,226 +1,240 @@ const SUBJECT: &str = "bet.beteran.ss.member_bank_deposit"; -pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit"); -pub const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: &str = const_format::concatcp!(SUBJECT, ".ListMemberBankDeposits"); -pub const SUBJECT_GET_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".GetMemberBankDeposit"); -pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankDeposit"); -pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankDepositForState"); -pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit"); - +pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str = + const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit"); +pub const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: &str = + const_format::concatcp!(SUBJECT, ".ListMemberBankDeposits"); +pub const SUBJECT_GET_MEMBER_BANK_DEPOSIT: &str = + const_format::concatcp!(SUBJECT, ".GetMemberBankDeposit"); +pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankDeposit"); +pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankDepositForState"); +pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str = + const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit"); /// subject = bet.beteran.ss.member_bank_deposit.CreateMemberBankDeposit #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankDepositRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `CreateMemberBankDepositRequest`. pub mod create_member_bank_deposit_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="2")] - pub amount: u32, - #[prost(string, optional, tag="3")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub member_id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "3")] + pub amount: u32, + #[prost(string, optional, tag = "4")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankDepositResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `CreateMemberBankDepositResponse`. pub mod create_member_bank_deposit_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_deposit: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_deposit: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_deposit.ListMemberBankDeposits #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberBankDepositsRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `ListMemberBankDepositsRequest`. pub mod list_member_bank_deposits_request { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(message, optional, tag = "1")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, + } + /// Nested message and enum types in `Request`. + pub mod request { #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, - } - /// Nested message and enum types in `Request`. - pub mod request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub member_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="2")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="3")] - pub amount: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="4")] - pub memo_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="5")] - pub state: ::core::option::Option<::prost::alloc::string::String>, - } + pub struct Search { + #[prost(string, optional, tag = "1")] + pub member_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "2")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "3")] + pub amount: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "4")] + pub memo_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "5")] + pub state: ::core::option::Option<::prost::alloc::string::String>, } + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberBankDepositsResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `ListMemberBankDepositsResponse`. pub mod list_member_bank_deposits_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub member_bank_deposits: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, repeated, tag = "1")] + pub member_bank_deposits: + ::prost::alloc::vec::Vec, + } } /// subject = bet.beteran.ss.member_bank_deposit.GetMemberBankDeposit #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankDepositRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `GetMemberBankDepositRequest`. pub mod get_member_bank_deposit_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankDepositResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `GetMemberBankDepositResponse`. pub mod get_member_bank_deposit_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_deposit: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_deposit: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_deposit.UpdateMemberBankDeposit #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankDepositRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberBankDepositRequest`. pub mod update_member_bank_deposit_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="5")] - pub amount: u32, - #[prost(string, optional, tag="7")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "5")] + pub amount: u32, + #[prost(string, optional, tag = "7")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankDepositResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberBankDepositResponse`. pub mod update_member_bank_deposit_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_deposit: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_deposit: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_deposit.UpdateMemberBankDepositForState #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankDepositForStateRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberBankDepositForStateRequest`. pub mod update_member_bank_deposit_for_state_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(enumeration="crate::models::member_bank_deposit::MemberBankDepositState", tag="2")] - pub state: i32, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost( + enumeration = "crate::models::member_bank_deposit::MemberBankDepositState", + tag = "2" + )] + pub state: i32, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankDepositForStateResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberBankDepositForStateResponse`. pub mod update_member_bank_deposit_for_state_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_deposit: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_deposit: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_deposit.DeleteMemberBankDeposit #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankDepositRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `DeleteMemberBankDepositRequest`. pub mod delete_member_bank_deposit_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankDepositResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `DeleteMemberBankDepositResponse`. pub mod delete_member_bank_deposit_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} } diff --git a/src/ss/member_bank_withdraw.rs b/src/ss/member_bank_withdraw.rs index 371e832..514c6ad 100644 --- a/src/ss/member_bank_withdraw.rs +++ b/src/ss/member_bank_withdraw.rs @@ -1,242 +1,256 @@ const SUBJECT: &str = "bet.beteran.ss.member_bank_withdraw"; -pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw"); -pub const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: &str = const_format::concatcp!(SUBJECT, ".ListMemberBankWithdraws"); -pub const SUBJECT_GET_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".GetMemberBankWithdraw"); -pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdraw"); -pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdrawForState"); -pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw"); - +pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str = + const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw"); +pub const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: &str = + const_format::concatcp!(SUBJECT, ".ListMemberBankWithdraws"); +pub const SUBJECT_GET_MEMBER_BANK_WITHDRAW: &str = + const_format::concatcp!(SUBJECT, ".GetMemberBankWithdraw"); +pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdraw"); +pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdrawForState"); +pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str = + const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw"); /// subject = bet.beteran.ss.member_bank_withdraw.CreateMemberBankWithdraw #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankWithdrawRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `CreateMemberBankWithdrawRequest`. pub mod create_member_bank_withdraw_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub bank_name: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub name: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub account_number: ::prost::alloc::string::String, - #[prost(uint32, tag="4")] - pub amount: u32, - #[prost(string, tag="5")] - pub password: ::prost::alloc::string::String, - #[prost(string, optional, tag="6")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub member_id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub bank_name: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(string, tag = "4")] + pub account_number: ::prost::alloc::string::String, + #[prost(uint32, tag = "5")] + pub amount: u32, + #[prost(string, tag = "6")] + pub password: ::prost::alloc::string::String, + #[prost(string, optional, tag = "7")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankWithdrawResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `CreateMemberBankWithdrawResponse`. pub mod create_member_bank_withdraw_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_withdraw: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_withdraw: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_withdraw.ListMemberBankWithdraws #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberBankWithdrawsRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `ListMemberBankWithdrawsRequest`. pub mod list_member_bank_withdraws_request { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(message, optional, tag = "1")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, + } + /// Nested message and enum types in `Request`. + pub mod request { #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, - } - /// Nested message and enum types in `Request`. - pub mod request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub member_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="2")] - pub bank_name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="3")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="4")] - pub account_number_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="5")] - pub amount: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="6")] - pub memo_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="7")] - pub state: ::core::option::Option<::prost::alloc::string::String>, - } + pub struct Search { + #[prost(string, optional, tag = "1")] + pub member_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "2")] + pub bank_name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "3")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "4")] + pub account_number_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "5")] + pub amount: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "6")] + pub memo_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "7")] + pub state: ::core::option::Option<::prost::alloc::string::String>, } + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberBankWithdrawsResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `ListMemberBankWithdrawsResponse`. pub mod list_member_bank_withdraws_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub member_bank_withdraws: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, repeated, tag = "1")] + pub member_bank_withdraws: + ::prost::alloc::vec::Vec, + } } /// subject = bet.beteran.ss.member_bank_withdraw.GetMemberBankWithdraw #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankWithdrawRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `GetMemberBankWithdrawRequest`. pub mod get_member_bank_withdraw_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberBankWithdrawResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `GetMemberBankWithdrawResponse`. pub mod get_member_bank_withdraw_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_withdraw: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_withdraw: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdraw #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankWithdrawRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberBankWithdrawRequest`. pub mod update_member_bank_withdraw_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub bank_name: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - #[prost(string, tag="4")] - pub account_number: ::prost::alloc::string::String, - #[prost(uint32, tag="5")] - pub amount: u32, - #[prost(string, tag="6")] - pub password: ::prost::alloc::string::String, - #[prost(string, optional, tag="7")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub bank_name: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(string, tag = "4")] + pub account_number: ::prost::alloc::string::String, + #[prost(uint32, tag = "5")] + pub amount: u32, + #[prost(string, tag = "6")] + pub password: ::prost::alloc::string::String, + #[prost(string, optional, tag = "7")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankWithdrawResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberBankWithdrawResponse`. pub mod update_member_bank_withdraw_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_withdraw: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_withdraw: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdrawForState #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankWithdrawForStateRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberBankWithdrawForStateRequest`. pub mod update_member_bank_withdraw_for_state_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(enumeration="crate::models::member_bank_withdraw::MemberBankWithdrawState", tag="2")] - pub state: i32, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost( + enumeration = "crate::models::member_bank_withdraw::MemberBankWithdrawState", + tag = "2" + )] + pub state: i32, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberBankWithdrawForStateResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberBankWithdrawForStateResponse`. pub mod update_member_bank_withdraw_for_state_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_bank_withdraw: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_bank_withdraw: + ::core::option::Option, + } } /// subject = bet.beteran.ss.member_bank_withdraw.DeleteMemberBankWithdraw #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankWithdrawRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `DeleteMemberBankWithdrawRequest`. pub mod delete_member_bank_withdraw_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankWithdrawResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `DeleteMemberBankWithdrawResponse`. pub mod delete_member_bank_withdraw_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} }