Struct slack_morphism::SlackApiResponseScrollerState [−][src]
Fields
request: RQ
last_response: Option<RS>
last_cursor: Option<CT>
Implementations
impl<RQ, RS, CT, RIT, SCHC> SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
RQ: SlackApiScrollableRequest<SCHC, 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,
SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,
[src]
RQ: SlackApiScrollableRequest<SCHC, 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,
SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,
Trait Implementations
impl<RQ: Clone, RS: Clone, CT: Clone, RIT: Clone, SCHC: Clone> Clone for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
RQ: SlackApiScrollableRequest<SCHC, 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,
SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,
[src]
RQ: SlackApiScrollableRequest<SCHC, 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,
SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,
fn clone(&self) -> SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<RQ: Debug, RS: Debug, CT: Debug, RIT: Debug, SCHC: Debug> Debug for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
RQ: SlackApiScrollableRequest<SCHC, 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,
SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,
[src]
RQ: SlackApiScrollableRequest<SCHC, 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,
SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,
impl<RQ, RS, CT, RIT, SCHC> SlackApiResponseScroller<SCHC> for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
RQ: SlackApiScrollableRequest<SCHC, 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,
SCHC: SlackClientHttpConnector + Send + Sync + Clone,
[src]
RQ: SlackApiScrollableRequest<SCHC, 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,
SCHC: SlackClientHttpConnector + 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, SCHC>
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
[src]
&'a mut self,
session: &'a SlackClientSession<'s, SCHC>
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
fn to_stream<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s, SCHC>
) -> BoxStream<'a, ClientResult<Self::ResponseType>>
[src]
&'a self,
session: &'a SlackClientSession<'s, SCHC>
) -> BoxStream<'a, ClientResult<Self::ResponseType>>
fn to_items_stream<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s, SCHC>
) -> BoxStream<'a, ClientResult<Vec<Self::ResponseItemType>>>
[src]
&'a self,
session: &'a SlackClientSession<'s, SCHC>
) -> BoxStream<'a, ClientResult<Vec<Self::ResponseItemType>>>
Auto Trait Implementations
impl<RQ, RS, CT, RIT, SCHC> RefUnwindSafe for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
CT: RefUnwindSafe,
RQ: RefUnwindSafe,
RS: RefUnwindSafe,
SCHC: RefUnwindSafe,
CT: RefUnwindSafe,
RQ: RefUnwindSafe,
RS: RefUnwindSafe,
SCHC: RefUnwindSafe,
impl<RQ, RS, CT, RIT, SCHC> Send for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC>
impl<RQ, RS, CT, RIT, SCHC> Sync for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC>
impl<RQ, RS, CT, RIT, SCHC> Unpin for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
CT: Unpin,
RQ: Unpin,
RS: Unpin,
SCHC: Unpin,
CT: Unpin,
RQ: Unpin,
RS: Unpin,
SCHC: Unpin,
impl<RQ, RS, CT, RIT, SCHC> UnwindSafe for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
CT: UnwindSafe,
RQ: UnwindSafe,
RS: UnwindSafe,
SCHC: UnwindSafe,
CT: UnwindSafe,
RQ: UnwindSafe,
RS: UnwindSafe,
SCHC: 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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,