pub struct Request {
pub device: Option<String>,
pub method: Method,
pub params: Option<Vec<Param>>,
pub kind: RequestKind,
}
Expand description
Serializable data for performing a request to a device
Fields§
§device: Option<String>
§method: Method
§params: Option<Vec<Param>>
§kind: RequestKind
Implementations§
Trait Implementations§
source§impl Clone for WizRPCRequest
impl Clone for WizRPCRequest
source§fn clone(&self) -> WizRPCRequest
fn clone(&self) -> WizRPCRequest
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 moreAuto Trait Implementations§
impl RefUnwindSafe for WizRPCRequest
impl Send for WizRPCRequest
impl Sync for WizRPCRequest
impl Unpin for WizRPCRequest
impl UnwindSafe for WizRPCRequest
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