Struct rump::message::EventSubscribe [] [src]

pub struct EventSubscribe {
    message_type: MessageType,
    id: u64,
    options: Options,
    topic: String,
}

Fields

message_type
id
options
topic

Methods

impl EventSubscribe

fn new(topic: String) -> Self

fn get_id(&self) -> u64

Trait Implementations

impl Encodable for EventSubscribe

fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>

Derived Implementations

impl Clone for EventSubscribe

fn clone(&self) -> EventSubscribe

fn clone_from(&mut self, source: &Self)

impl Debug for EventSubscribe

fn fmt(&self, __arg_0: &mut Formatter) -> Result