[][src]Struct jqdata::Request

pub struct Request<P> { /* fields omitted */ }

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.

Methods

impl<P> Request<P> where
    P: HasMethod
[src]

pub fn new(token: String, payload: P) -> Request<P>[src]

Trait Implementations

impl<P> Debug for Request<P> where
    P: Debug
[src]

impl<'de, P> Deserialize<'de> for Request<P> where
    P: Deserialize<'de>, 
[src]

impl<P> Serialize for Request<P> where
    P: Serialize
[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,