Struct slack_morphism::api::SlackApiConversationsHistoryRequest [−][src]
pub struct SlackApiConversationsHistoryRequest {
pub channel: Option<SlackChannelId>,
pub cursor: Option<SlackCursorId>,
pub latest: Option<SlackTs>,
pub limit: Option<u16>,
pub oldest: Option<SlackTs>,
pub inclusive: Option<bool>,
}
Fields
channel: Option<SlackChannelId>
cursor: Option<SlackCursorId>
latest: Option<SlackTs>
limit: Option<u16>
oldest: Option<SlackTs>
inclusive: Option<bool>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiConversationsHistoryRequest where
SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,
impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiConversationsHistoryRequest where
SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,
type CursorType = SlackCursorId
fn scroll<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s, SCHC>
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
fn scroller<'a, 'b>(
&'a self
) -> Box<dyn SlackApiResponseScroller<SCHC, ResponseType = Self::ResponseType, CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + Send + Sync + 'b> where
Self: Send + Clone + Sync + 'b,
Self::ResponseType: Send + Clone + Sync + SlackApiScrollableResponse<CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + 'b,
Self::CursorType: Send + Clone + Sync + 'b,
Self::ResponseItemType: Send + Clone + Sync + 'b,
Auto Trait Implementations
impl Send for SlackApiConversationsHistoryRequest
impl Sync for SlackApiConversationsHistoryRequest
impl Unpin for SlackApiConversationsHistoryRequest
Blanket Implementations
Mutably borrows from an owned value. Read more