[][src]Trait slack_morphism::SlackApiScrollableRequest

pub trait SlackApiScrollableRequest<SCHC> where
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
{ type ResponseType; type CursorType; type ResponseItemType; pub fn with_new_cursor(&self, new_cursor: Option<&Self::CursorType>) -> Self;
pub fn scroll<'a, 's>(
        &'a self,
        session: &'a SlackClientSession<'s, SCHC>
    ) -> BoxFuture<'a, ClientResult<Self::ResponseType>>; pub fn scroller<'a, 'b>(
        &'a self
    ) -> Box<dyn SlackApiResponseScroller<SCHC, ResponseType = Self::ResponseType, CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + 'b>
    where
        Self: Send + Clone + Sync + 'b,
        Self::ResponseType: Send + Clone + Sync + SlackApiScrollableResponse<CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + 'b,
        Self::CursorType: Send + Clone + Sync + 'b,
        Self::ResponseItemType: Send + Clone + Sync + 'b
, { ... } }

Associated Types

Loading content...

Required methods

pub fn with_new_cursor(&self, new_cursor: Option<&Self::CursorType>) -> Self[src]

pub fn scroll<'a, 's>(
    &'a self,
    session: &'a SlackClientSession<'s, SCHC>
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
[src]

Loading content...

Provided methods

pub fn scroller<'a, 'b>(
    &'a self
) -> Box<dyn SlackApiResponseScroller<SCHC, ResponseType = Self::ResponseType, CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + 'b> where
    Self: Send + Clone + Sync + 'b,
    Self::ResponseType: Send + Clone + Sync + SlackApiScrollableResponse<CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + 'b,
    Self::CursorType: Send + Clone + Sync + 'b,
    Self::ResponseItemType: Send + Clone + Sync + 'b, 
[src]

Loading content...

Implementors

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiChatScheduledMessagesListRequest where
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
[src]

type ResponseType = SlackApiChatScheduledMessagesListResponse

type CursorType = SlackCursorId

type ResponseItemType = SlackApiChatScheduledMessageInfo

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiConversationsHistoryRequest where
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
[src]

type ResponseType = SlackApiConversationsHistoryResponse

type CursorType = SlackCursorId

type ResponseItemType = SlackHistoryMessage

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiConversationsListRequest where
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
[src]

type ResponseType = SlackApiConversationsListResponse

type CursorType = SlackCursorId

type ResponseItemType = SlackChannelInfo

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiConversationsMembersRequest where
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
[src]

type ResponseType = SlackApiConversationsMembersResponse

type CursorType = SlackCursorId

type ResponseItemType = SlackUserId

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiConversationsRepliesRequest where
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
[src]

type ResponseType = SlackApiConversationsRepliesResponse

type CursorType = SlackCursorId

type ResponseItemType = SlackHistoryMessage

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiUsersConversationsRequest where
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
[src]

type ResponseType = SlackApiUsersConversationsResponse

type CursorType = SlackCursorId

type ResponseItemType = SlackChannelInfo

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiUsersListRequest where
    SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static, 
[src]

type ResponseType = SlackApiUsersListResponse

type CursorType = SlackCursorId

type ResponseItemType = SlackUser

Loading content...