Expand description
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§
source§impl Clone for CastMessagePayload
impl Clone for CastMessagePayload
source§fn clone(&self) -> CastMessagePayload
fn clone(&self) -> CastMessagePayload
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more