Struct tk_opc::OpcMessage
[−]
[src]
pub struct OpcMessage { pub channel: u8, pub message: OpcMessageData, }
Fields
channel: u8
message: OpcMessageData
Methods
impl OpcMessage
[src]
fn new(channel: u8, msg: OpcMessageData) -> Self
fn header(&self) -> OpcHeader
Trait Implementations
impl Clone for OpcMessage
[src]
fn clone(&self) -> OpcMessage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more