Struct mles_utils::Msg
[−]
[src]
pub struct Msg { /* fields omitted */ }
Methods
impl Msg
[src]
fn new(uid: String, channel: String, message: Vec<u8>) -> Msg
fn set_uid(self, uid: String) -> Msg
fn set_channel(self, channel: String) -> Msg
fn set_message(self, message: Vec<u8>) -> Msg
fn get_uid(&self) -> &String
fn get_channel(&self) -> &String
fn get_message(&self) -> &Vec<u8>
Trait Implementations
impl Debug for Msg
[src]
impl Clone for Msg
[src]
fn clone(&self) -> Msg
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