Struct slack_morphism::SlackApiResponseScrollerState[][src]

pub struct SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
    RQ: SlackApiScrollableRequest<SCHC, ResponseType = RS, CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    RS: SlackApiScrollableResponse<CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    CT: Send + Sync + Clone,
    RIT: Send + Sync + Clone,
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
{ pub request: RQ, pub last_response: Option<RS>, pub last_cursor: Option<CT>, // some fields omitted }

Fields

request: RQlast_response: Option<RS>last_cursor: Option<CT>

Implementations

impl<RQ, RS, CT, RIT, SCHC> SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
    RQ: SlackApiScrollableRequest<SCHC, ResponseType = RS, CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    RS: SlackApiScrollableResponse<CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    CT: Send + Sync + Clone,
    RIT: Send + Sync + Clone,
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
[src]

pub fn new(request: &RQ) -> Self[src]

Trait Implementations

impl<RQ: Clone, RS: Clone, CT: Clone, RIT: Clone, SCHC: Clone> Clone for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
    RQ: SlackApiScrollableRequest<SCHC, ResponseType = RS, CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    RS: SlackApiScrollableResponse<CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    CT: Send + Sync + Clone,
    RIT: Send + Sync + Clone,
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
[src]

impl<RQ: Debug, RS: Debug, CT: Debug, RIT: Debug, SCHC: Debug> Debug for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
    RQ: SlackApiScrollableRequest<SCHC, ResponseType = RS, CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    RS: SlackApiScrollableResponse<CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    CT: Send + Sync + Clone,
    RIT: Send + Sync + Clone,
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
[src]

impl<RQ, RS, CT, RIT, SCHC> SlackApiResponseScroller<SCHC> for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
    RQ: SlackApiScrollableRequest<SCHC, ResponseType = RS, CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    RS: SlackApiScrollableResponse<CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    CT: Send + Sync + Clone,
    RIT: Send + Sync + Clone,
    SCHC: SlackClientHttpConnector + Send + Sync + Clone
[src]

type ResponseType = RS

type CursorType = CT

type ResponseItemType = RIT

Auto Trait Implementations

impl<RQ, RS, CT, RIT, SCHC> RefUnwindSafe for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
    CT: RefUnwindSafe,
    RQ: RefUnwindSafe,
    RS: RefUnwindSafe,
    SCHC: RefUnwindSafe

impl<RQ, RS, CT, RIT, SCHC> Send for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC>

impl<RQ, RS, CT, RIT, SCHC> Sync for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC>

impl<RQ, RS, CT, RIT, SCHC> Unpin for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
    CT: Unpin,
    RQ: Unpin,
    RS: Unpin,
    SCHC: Unpin

impl<RQ, RS, CT, RIT, SCHC> UnwindSafe for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
    CT: UnwindSafe,
    RQ: UnwindSafe,
    RS: UnwindSafe,
    SCHC: 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> 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.