pub struct PushMessage {
pub proto_id: u32,
pub body: Bytes,
}Expand description
推送消息
Fields§
§proto_id: u32§body: BytesTrait Implementations§
Source§impl Clone for PushMessage
impl Clone for PushMessage
Source§fn clone(&self) -> PushMessage
fn clone(&self) -> PushMessage
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 moreAuto Trait Implementations§
impl !Freeze for PushMessage
impl RefUnwindSafe for PushMessage
impl Send for PushMessage
impl Sync for PushMessage
impl Unpin for PushMessage
impl UnwindSafe for PushMessage
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