[][src]Struct slack_morphism::SlackApiResponseScrollerState

pub struct SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
    RQ: SlackApiScrollableRequest<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
{ pub request: RQ, pub last_response: Option<RS>, pub last_cursor: Option<CT>, }

Fields

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

Implementations

impl<RQ, RS, CT, RIT> SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
    RQ: SlackApiScrollableRequest<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
[src]

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

Trait Implementations

impl<RQ: Clone, RS: Clone, CT: Clone, RIT: Clone> Clone for SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
    RQ: SlackApiScrollableRequest<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
[src]

impl<RQ: Debug, RS: Debug, CT: Debug, RIT: Debug> Debug for SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
    RQ: SlackApiScrollableRequest<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
[src]

impl<RQ, RS, CT, RIT> SlackApiResponseScroller for SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
    RQ: SlackApiScrollableRequest<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
[src]

type ResponseType = RS

type CursorType = CT

type ResponseItemType = RIT

Auto Trait Implementations

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

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

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

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

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