pub struct SendMessageResponse {
pub client_seq: u32,
pub server_message_id: u64,
pub message_seq: u32,
pub reason_code: u32,
}Expand description
发送消息响应
Fields§
§client_seq: u32§server_message_id: u64§message_seq: u32§reason_code: u32Implementations§
Source§impl SendMessageResponse
impl SendMessageResponse
pub fn new() -> Self
pub fn create_packet(self) -> Packet<Self>
Trait Implementations§
Source§impl Clone for SendMessageResponse
impl Clone for SendMessageResponse
Source§fn clone(&self) -> SendMessageResponse
fn clone(&self) -> SendMessageResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendMessageResponse
impl Debug for SendMessageResponse
Source§impl Default for SendMessageResponse
impl Default for SendMessageResponse
Source§fn default() -> SendMessageResponse
fn default() -> SendMessageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendMessageResponse
impl<'de> Deserialize<'de> for SendMessageResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for SendMessageResponse
impl Message for SendMessageResponse
Source§fn message_type(&self) -> MessageType
fn message_type(&self) -> MessageType
获取消息类型
Auto Trait Implementations§
impl Freeze for SendMessageResponse
impl RefUnwindSafe for SendMessageResponse
impl Send for SendMessageResponse
impl Sync for SendMessageResponse
impl Unpin for SendMessageResponse
impl UnsafeUnpin for SendMessageResponse
impl UnwindSafe for SendMessageResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more