pub struct WebSocketHandlerIR {
pub on_connect: String,
pub on_message: String,
pub on_disconnect: String,
pub on_error: String,
}
Fields§
§on_connect: String
§on_message: String
§on_disconnect: String
§on_error: String
Trait Implementations§
Source§impl Clone for WebSocketHandlerIR
impl Clone for WebSocketHandlerIR
Source§fn clone(&self) -> WebSocketHandlerIR
fn clone(&self) -> WebSocketHandlerIR
Returns a duplicate 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 WebSocketHandlerIR
impl Debug for WebSocketHandlerIR
Source§impl<'de> Deserialize<'de> for WebSocketHandlerIR
impl<'de> Deserialize<'de> for WebSocketHandlerIR
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WebSocketHandlerIR
impl PartialEq for WebSocketHandlerIR
Source§impl Serialize for WebSocketHandlerIR
impl Serialize for WebSocketHandlerIR
impl StructuralPartialEq for WebSocketHandlerIR
Auto Trait Implementations§
impl Freeze for WebSocketHandlerIR
impl RefUnwindSafe for WebSocketHandlerIR
impl Send for WebSocketHandlerIR
impl Sync for WebSocketHandlerIR
impl Unpin for WebSocketHandlerIR
impl UnwindSafe for WebSocketHandlerIR
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