Enum rive_models::event::ClientEvent
source · pub enum ClientEvent {
Authenticate {
token: String,
},
Ping {
data: i32,
},
BeginTyping {
channel: String,
},
EndTyping {
channel: String,
},
}Expand description
Event sent by client
Variants§
Trait Implementations§
source§impl Clone for ClientEvent
impl Clone for ClientEvent
source§fn clone(&self) -> ClientEvent
fn clone(&self) -> ClientEvent
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 moresource§impl Debug for ClientEvent
impl Debug for ClientEvent
source§impl PartialEq<ClientEvent> for ClientEvent
impl PartialEq<ClientEvent> for ClientEvent
source§fn eq(&self, other: &ClientEvent) -> bool
fn eq(&self, other: &ClientEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.