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

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

Message

Fields

channel: Channel

channel

message: String

message payload

Trait Implementations

impl Encodable for Message
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

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.