[−][src]Struct slack_morphism::SlackApiResponseScrollerState
Fields
request: RQ
last_response: Option<RS>
last_cursor: Option<CT>
Implementations
impl<RQ, RS, CT, RIT> SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
RQ: SlackApiScrollableRequest<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,
[src]
RQ: SlackApiScrollableRequest<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,
Trait Implementations
impl<RQ: Clone, RS: Clone, CT: Clone, RIT: Clone> Clone for SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
RQ: SlackApiScrollableRequest<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,
[src]
RQ: SlackApiScrollableRequest<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,
fn clone(&self) -> SlackApiResponseScrollerState<RQ, RS, CT, RIT>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<RQ: Debug, RS: Debug, CT: Debug, RIT: Debug> Debug for SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
RQ: SlackApiScrollableRequest<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,
[src]
RQ: SlackApiScrollableRequest<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,
impl<RQ, RS, CT, RIT> SlackApiResponseScroller for SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
RQ: SlackApiScrollableRequest<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,
[src]
RQ: SlackApiScrollableRequest<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,
type ResponseType = RS
type CursorType = CT
type ResponseItemType = RIT
fn has_next(&self) -> bool
[src]
fn next_mut<'a, 's>(
&'a mut self,
session: &'a SlackClientSession<'s>
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
[src]
&'a mut self,
session: &'a SlackClientSession<'s>
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
fn to_stream<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s>
) -> BoxStream<'a, ClientResult<Self::ResponseType>>
[src]
&'a self,
session: &'a SlackClientSession<'s>
) -> BoxStream<'a, ClientResult<Self::ResponseType>>
fn to_items_stream<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s>
) -> BoxStream<'a, ClientResult<Vec<Self::ResponseItemType>>>
[src]
&'a self,
session: &'a SlackClientSession<'s>
) -> BoxStream<'a, ClientResult<Vec<Self::ResponseItemType>>>
fn collect_items_stream<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s>,
throttle_duration: Duration
) -> BoxFuture<'a, ClientResult<Vec<Self::ResponseItemType>>>
[src]
&'a self,
session: &'a SlackClientSession<'s>,
throttle_duration: Duration
) -> BoxFuture<'a, ClientResult<Vec<Self::ResponseItemType>>>
Auto Trait Implementations
impl<RQ, RS, CT, RIT> RefUnwindSafe for SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
CT: RefUnwindSafe,
RQ: RefUnwindSafe,
RS: RefUnwindSafe,
CT: RefUnwindSafe,
RQ: RefUnwindSafe,
RS: RefUnwindSafe,
impl<RQ, RS, CT, RIT> Send for SlackApiResponseScrollerState<RQ, RS, CT, RIT>
impl<RQ, RS, CT, RIT> Sync for SlackApiResponseScrollerState<RQ, RS, CT, RIT>
impl<RQ, RS, CT, RIT> Unpin for SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
CT: Unpin,
RQ: Unpin,
RS: Unpin,
CT: Unpin,
RQ: Unpin,
RS: Unpin,
impl<RQ, RS, CT, RIT> UnwindSafe for SlackApiResponseScrollerState<RQ, RS, CT, RIT> where
CT: UnwindSafe,
RQ: UnwindSafe,
RS: UnwindSafe,
CT: UnwindSafe,
RQ: UnwindSafe,
RS: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,