Struct WsGetRequest
pub struct WsGetRequest {
pub instruction: &'static str,
pub complete: bool,
}Expand description
Websocket get request.
Fields§
§instruction: &'static strThe instruction literal ("get").
complete: boolWhether to retrieve all data or only the changed data.
Implementations§
§impl WsGetRequest
impl WsGetRequest
Trait Implementations§
§impl Clone for WsGetRequest
impl Clone for WsGetRequest
§fn clone(&self) -> WsGetRequest
fn clone(&self) -> WsGetRequest
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 WsGetRequest
impl Debug for WsGetRequest
§impl Serialize for WsGetRequest
impl Serialize for WsGetRequest
Auto Trait Implementations§
impl Freeze for WsGetRequest
impl RefUnwindSafe for WsGetRequest
impl Send for WsGetRequest
impl Sync for WsGetRequest
impl Unpin for WsGetRequest
impl UnwindSafe for WsGetRequest
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