[−][src]Struct slack_morphism::api::SlackApiConversationsListRequest
Fields
cursor: Option<SlackCursorId>
limit: Option<u16>
exclude_archived: Option<bool>
types: Option<Vec<SlackConversationType>>
Implementations
impl SlackApiConversationsListRequest
[src]
pub fn new() -> Self
[src]
pub fn cursor(&mut self, value: SlackCursorId) -> &mut Self
[src]
pub fn reset_cursor(&mut self) -> &mut Self
[src]
pub fn mopt_cursor(&mut self, value: Option<SlackCursorId>) -> &mut Self
[src]
pub fn with_cursor(self, value: SlackCursorId) -> Self
[src]
pub fn without_cursor(self) -> Self
[src]
pub fn opt_cursor(self, value: Option<SlackCursorId>) -> Self
[src]
pub fn limit(&mut self, value: u16) -> &mut Self
[src]
pub fn reset_limit(&mut self) -> &mut Self
[src]
pub fn mopt_limit(&mut self, value: Option<u16>) -> &mut Self
[src]
pub fn with_limit(self, value: u16) -> Self
[src]
pub fn without_limit(self) -> Self
[src]
pub fn opt_limit(self, value: Option<u16>) -> Self
[src]
pub fn exclude_archived(&mut self, value: bool) -> &mut Self
[src]
pub fn reset_exclude_archived(&mut self) -> &mut Self
[src]
pub fn mopt_exclude_archived(&mut self, value: Option<bool>) -> &mut Self
[src]
pub fn with_exclude_archived(self, value: bool) -> Self
[src]
pub fn without_exclude_archived(self) -> Self
[src]
pub fn opt_exclude_archived(self, value: Option<bool>) -> Self
[src]
pub fn types(&mut self, value: Vec<SlackConversationType>) -> &mut Self
[src]
pub fn reset_types(&mut self) -> &mut Self
[src]
pub fn mopt_types(
&mut self,
value: Option<Vec<SlackConversationType>>
) -> &mut Self
[src]
&mut self,
value: Option<Vec<SlackConversationType>>
) -> &mut Self
pub fn with_types(self, value: Vec<SlackConversationType>) -> Self
[src]
pub fn without_types(self) -> Self
[src]
pub fn opt_types(self, value: Option<Vec<SlackConversationType>>) -> Self
[src]
Trait Implementations
impl Clone for SlackApiConversationsListRequest
[src]
fn clone(&self) -> SlackApiConversationsListRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackApiConversationsListRequest
[src]
impl<'de> Deserialize<'de> for SlackApiConversationsListRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SlackApiConversationsListRequestInit> for SlackApiConversationsListRequest
[src]
fn from(value: SlackApiConversationsListRequestInit) -> Self
[src]
impl PartialEq<SlackApiConversationsListRequest> for SlackApiConversationsListRequest
[src]
fn eq(&self, other: &SlackApiConversationsListRequest) -> bool
[src]
fn ne(&self, other: &SlackApiConversationsListRequest) -> bool
[src]
impl Serialize for SlackApiConversationsListRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl SlackApiScrollableRequest for SlackApiConversationsListRequest
[src]
type ResponseType = SlackApiConversationsListResponse
type CursorType = SlackCursorId
type ResponseItemType = SlackChannelInfo
fn with_new_cursor(&self, new_cursor: Option<&Self::CursorType>) -> Self
[src]
fn scroll<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s>
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
[src]
&'a self,
session: &'a SlackClientSession<'s>
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
fn scroller<'a, 'b>(
&'a self
) -> Box<dyn SlackApiResponseScroller<ResponseType = Self::ResponseType, CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + '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,
[src]
&'a self
) -> Box<dyn SlackApiResponseScroller<ResponseType = Self::ResponseType, CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + '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,
impl StructuralPartialEq for SlackApiConversationsListRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackApiConversationsListRequest
impl Send for SlackApiConversationsListRequest
impl Sync for SlackApiConversationsListRequest
impl Unpin for SlackApiConversationsListRequest
impl UnwindSafe for SlackApiConversationsListRequest
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,