pub struct Request<P> { /* private fields */ }
Expand description
Request
Generic request for all JQData APIs, uses serde flatten attribute to construct plain json with different fields. common fields are “token” and “method”. specific ones are all passed by payload field.
Implementations§
Trait Implementations§
Source§impl<'de, P> Deserialize<'de> for Request<P>where
P: Deserialize<'de>,
impl<'de, P> Deserialize<'de> for Request<P>where
P: Deserialize<'de>,
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
Auto Trait Implementations§
impl<P> Freeze for Request<P>where
P: Freeze,
impl<P> RefUnwindSafe for Request<P>where
P: RefUnwindSafe,
impl<P> Send for Request<P>where
P: Send,
impl<P> Sync for Request<P>where
P: Sync,
impl<P> Unpin for Request<P>where
P: Unpin,
impl<P> UnwindSafe for Request<P>where
P: UnwindSafe,
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