[][src]Struct amp_serde::Request

pub struct Request<Q> {
    pub tag: Option<Bytes>,
    pub command: String,
    pub fields: Q,
}

Fields

tag: Option<Bytes>command: Stringfields: Q

Trait Implementations

impl<Q: Clone> Clone for Request<Q>[src]

impl<Q: Debug> Debug for Request<Q>[src]

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

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

Auto Trait Implementations

impl<Q> RefUnwindSafe for Request<Q> where
    Q: RefUnwindSafe

impl<Q> Send for Request<Q> where
    Q: Send

impl<Q> Sync for Request<Q> where
    Q: Sync

impl<Q> Unpin for Request<Q> where
    Q: Unpin

impl<Q> UnwindSafe for Request<Q> where
    Q: 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.