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 ==.source§impl Serialize for ClientEvent
impl Serialize for ClientEvent
impl Eq for ClientEvent
impl StructuralEq for ClientEvent
impl StructuralPartialEq for ClientEvent
Auto Trait Implementations§
impl RefUnwindSafe for ClientEvent
impl Send for ClientEvent
impl Sync for ClientEvent
impl Unpin for ClientEvent
impl UnwindSafe for ClientEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more