pub enum Message {
Show 16 variants
GroupCreateRequest(GroupCreateRequest),
GroupCreateResponse(GroupCreateResponse),
GroupRenameRequest(GroupRenameRequest),
GroupRenameResponse(GroupRenameResponse),
GroupInviteMemberRequest(GroupInviteMemberRequest),
GroupInviteMemberResponse(GroupInviteMemberResponse),
GroupRemoveMemberRequest(GroupRemoveMemberRequest),
GroupRemoveMemberResponse(GroupRemoveMemberResponse),
GroupInfoRequest(GroupInfoRequest),
GroupInfoResponse(GroupInfo),
GroupReplyInviteRequest(GroupReplyInviteRequest),
GroupReplyInviteResponse(GroupReplyInviteResponse),
GroupListRequest(GroupListRequest),
GroupListResponse(GroupListResponse),
GroupInvitedRequest(GroupInvitedRequest),
GroupInvitedResponse(GroupInvitedResponse),
}
Expand description
message type
Variants
GroupCreateRequest(GroupCreateRequest)
group create request
GroupCreateResponse(GroupCreateResponse)
group create response
GroupRenameRequest(GroupRenameRequest)
group rename request
GroupRenameResponse(GroupRenameResponse)
group rename response
GroupInviteMemberRequest(GroupInviteMemberRequest)
group invite member request
GroupInviteMemberResponse(GroupInviteMemberResponse)
group invite member response
GroupRemoveMemberRequest(GroupRemoveMemberRequest)
group remove member request
GroupRemoveMemberResponse(GroupRemoveMemberResponse)
group remove member response
GroupInfoRequest(GroupInfoRequest)
group info request
GroupInfoResponse(GroupInfo)
group info response
GroupReplyInviteRequest(GroupReplyInviteRequest)
group reply invite request
GroupReplyInviteResponse(GroupReplyInviteResponse)
group reply invite response
GroupListRequest(GroupListRequest)
group list request
GroupListResponse(GroupListResponse)
group list response
GroupInvitedRequest(GroupInvitedRequest)
group invited
GroupInvitedResponse(GroupInvitedResponse)
group invited response
Implementations
sourceimpl Message
impl Message
sourcepub fn merge<B>(
field: &mut Option<Message>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
pub fn merge<B>(
field: &mut Option<Message>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations
impl StructuralPartialEq for Message
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more