Struct WsSetRequest
pub struct WsSetRequest {
pub instruction: &'static str,
pub data: IndexMap<String, InstructionValue>,
}Expand description
Websocket set request.
Fields§
§instruction: &'static strThe instruction literal ("set").
data: IndexMap<String, InstructionValue>The data to set.
Implementations§
§impl WsSetRequest
impl WsSetRequest
pub fn new(data: IndexMap<String, InstructionValue>) -> Self
pub fn new(data: IndexMap<String, InstructionValue>) -> Self
Creates a new set request.
Trait Implementations§
§impl Clone for WsSetRequest
impl Clone for WsSetRequest
§fn clone(&self) -> WsSetRequest
fn clone(&self) -> WsSetRequest
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 more§impl Debug for WsSetRequest
impl Debug for WsSetRequest
§impl Serialize for WsSetRequest
impl Serialize for WsSetRequest
Auto Trait Implementations§
impl Freeze for WsSetRequest
impl RefUnwindSafe for WsSetRequest
impl Send for WsSetRequest
impl Sync for WsSetRequest
impl Unpin for WsSetRequest
impl UnwindSafe for WsSetRequest
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