methods are added

This commit is contained in:
병준 박 2022-09-07 03:56:06 +00:00
parent 274d229914
commit 0726d405cf

View File

@ -6,6 +6,9 @@ pub const SUBJECT_LIST_MEMBERS: &str = const_format::concatcp!(SUBJECT, ".ListMe
pub const SUBJECT_GET_MEMBER: &str = const_format::concatcp!(SUBJECT, ".GetMember");
pub const SUBJECT_GET_MEMBER_BY_USERNAME: &str =
const_format::concatcp!(SUBJECT, ".GetMemberByUsername");
pub const SUBJECT_GET_MEMBER_B: &str = const_format::concatcp!(SUBJECT, ".GetMemberB");
pub const SUBJECT_GET_MEMBER_B_BY_USERNAME: &str =
const_format::concatcp!(SUBJECT, ".GetMemberBByUsername");
pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".UpdateMember");
pub const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberForPassword");
@ -288,6 +291,68 @@ pub mod get_member_by_username_response {
pub member: ::core::option::Option<crate::models::member::MemberModel>,
}
}
/// subject = bet.beteran.ss.member.GetMemberB
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<get_member_b_request::Request>,
}
/// Nested message and enum types in `GetMemberBRequest`.
pub mod get_member_b_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 GetMemberBResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_member_b_response::Result>,
}
/// Nested message and enum types in `GetMemberBResponse`.
pub mod get_member_b_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member: ::core::option::Option<crate::models::member::Member>,
}
}
/// subject = bet.beteran.ss.member.GetMemberBByUsername
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBByUsernameRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<get_member_b_by_username_request::Request>,
}
/// Nested message and enum types in `GetMemberBByUsernameRequest`.
pub mod get_member_b_by_username_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub username: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberBByUsernameResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_member_b_by_username_response::Result>,
}
/// Nested message and enum types in `GetMemberBByUsernameResponse`.
pub mod get_member_b_by_username_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member: ::core::option::Option<crate::models::member::Member>,
}
}
/// subject = bet.beteran.ss.member.UpdateMember
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberRequest {