Enum rust_cast::message_manager::CastMessagePayload [] [src]

pub enum CastMessagePayload {
    String(String),
    Binary(Vec<u8>),
}

Type of the payload that CastMessage can have.

Variants

Payload represented by UTF-8 string (usually it's just a JSON string).

Payload represented by binary data.

Trait Implementations

impl Debug for CastMessagePayload
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for CastMessagePayload
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations