slack_morphism

Trait SlackApiScrollableResponse

Source
pub trait SlackApiScrollableResponse {
    type CursorType;
    type ResponseItemType;

    // Required methods
    fn next_cursor(&self) -> Option<&Self::CursorType>;
    fn scrollable_items<'a>(
        &'a self,
    ) -> Box<dyn Iterator<Item = &'a Self::ResponseItemType> + 'a>;
}

Required Associated Types§

Required Methods§

Source

fn next_cursor(&self) -> Option<&Self::CursorType>

Source

fn scrollable_items<'a>( &'a self, ) -> Box<dyn Iterator<Item = &'a Self::ResponseItemType> + 'a>

Implementors§