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§
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>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".