pub struct CustomOutbound {
pub type_id: u16,
pub payload: Vec<u8>,
}Expand description
Outbound custom message to a specific client.
Fields§
§type_id: u16Message type ID (9+).
payload: Vec<u8>Raw payload.
Trait Implementations§
Source§impl Clone for CustomOutbound
impl Clone for CustomOutbound
Source§fn clone(&self) -> CustomOutbound
fn clone(&self) -> CustomOutbound
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 CustomOutbound
impl RefUnwindSafe for CustomOutbound
impl Send for CustomOutbound
impl Sync for CustomOutbound
impl Unpin for CustomOutbound
impl UnsafeUnpin for CustomOutbound
impl UnwindSafe for CustomOutbound
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