pub struct RawMessage {
    pub event_type: String,
    pub data: String,
    pub raw_json: String,
}Expand description
Raw WebSocket message structure
Fields§
§event_type: String§data: String§raw_json: StringTrait Implementations§
Source§impl Clone for RawMessage
 
impl Clone for RawMessage
Source§fn clone(&self) -> RawMessage
 
fn clone(&self) -> RawMessage
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 moreAuto Trait Implementations§
impl Freeze for RawMessage
impl RefUnwindSafe for RawMessage
impl Send for RawMessage
impl Sync for RawMessage
impl Unpin for RawMessage
impl UnwindSafe for RawMessage
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