pub struct OpcMessage {
pub channel: u8,
pub message: OpcMessageData,
}Fields§
§channel: u8§message: OpcMessageDataImplementations§
Source§impl OpcMessage
impl OpcMessage
Trait Implementations§
Source§impl Clone for OpcMessage
impl Clone for OpcMessage
Source§fn clone(&self) -> OpcMessage
fn clone(&self) -> OpcMessage
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 OpcMessage
impl RefUnwindSafe for OpcMessage
impl Send for OpcMessage
impl Sync for OpcMessage
impl Unpin for OpcMessage
impl UnwindSafe for OpcMessage
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