Struct rust_cast::message_manager::CastMessage[][src]

pub struct CastMessage {
    pub namespace: String,
    pub source: String,
    pub destination: String,
    pub payload: CastMessagePayload,
}

Base structure that represents messages that are exchanged between Receiver and Sender.

Fields

A namespace is a labeled protocol. That is, messages that are exchanged throughout the Cast ecosystem utilize namespaces to identify the protocol of the message being sent.

Unique identifier of the sender application.

Unique identifier of the receiver application.

Payload data attached to the message (either string or binary).

Trait Implementations

impl Debug for CastMessage
[src]

Formats the value using the given formatter. Read more

impl Clone for CastMessage
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for CastMessage

impl Sync for CastMessage