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§