Struct mpd::message::Message [] [src]

pub struct Message {
    pub channel: Channel,
    pub message: String,
}

Message

Fields

channel: Channel

channel

message: String

message payload

Methods

impl Message
[src]

fn from_map(map: BTreeMap<StringString>) -> Result<MessageError>

build message from map

Trait Implementations

impl Clone for Message
[src]

fn clone(&self) -> Message

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

impl PartialEq for Message
[src]

fn eq(&self, __arg_0: &Message) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Message) -> bool

This method tests for !=.

impl Debug for Message
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.