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: RQ
last_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]
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]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: 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: 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]
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
fn next_mut<'a, 's>(
&'a mut self,
session: &'a SlackClientSession<'s, SCHC>
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
[src]fn to_stream<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s, SCHC>
) -> BoxStream<'a, ClientResult<Self::ResponseType>>
[src]fn to_items_stream<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s, SCHC>
) -> BoxStream<'a, ClientResult<Vec<Self::ResponseItemType>>>
[src]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
Mutably borrows from an owned value. Read more