Enum rust_cast::message_manager::CastMessagePayload
[−]
[src]
pub enum CastMessagePayload { String(String), Binary(Vec<u8>), }
Type of the payload that CastMessage
can have.
Variants
String(String)
Payload represented by UTF-8 string (usually it's just a JSON string).
Binary(Vec<u8>)
Payload represented by binary data.
Trait Implementations
impl Debug for CastMessagePayload
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CastMessagePayload
[src]
fn clone(&self) -> CastMessagePayload
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more