[][src]Struct alice_types::request::Request

pub struct Request<SessionState = Value> {
    pub meta: Meta,
    pub request: RequestInner,
    pub session: Session,
    pub version: String,
    pub session_state: Option<SessionState>,
}

Fields

meta: Metarequest: RequestInnersession: Sessionversion: Stringsession_state: Option<SessionState>

Trait Implementations

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

impl<SessionState: Default> Default for Request<SessionState>[src]

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

Auto Trait Implementations

impl<SessionState> RefUnwindSafe for Request<SessionState> where
    SessionState: RefUnwindSafe
[src]

impl<SessionState> Send for Request<SessionState> where
    SessionState: Send
[src]

impl<SessionState> Sync for Request<SessionState> where
    SessionState: Sync
[src]

impl<SessionState> Unpin for Request<SessionState> where
    SessionState: Unpin
[src]

impl<SessionState> UnwindSafe for Request<SessionState> where
    SessionState: UnwindSafe
[src]

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.