[][src]Struct slack_morphism::api::SlackApiConversationsListRequest

pub struct SlackApiConversationsListRequest {
    pub cursor: Option<SlackCursorId>,
    pub limit: Option<u16>,
    pub exclude_archived: Option<bool>,
    pub types: Option<Vec<SlackConversationType>>,
}

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]

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]

impl Debug for SlackApiConversationsListRequest[src]

impl<'de> Deserialize<'de> for SlackApiConversationsListRequest[src]

impl From<SlackApiConversationsListRequestInit> for SlackApiConversationsListRequest[src]

impl PartialEq<SlackApiConversationsListRequest> for SlackApiConversationsListRequest[src]

impl Serialize for SlackApiConversationsListRequest[src]

impl SlackApiScrollableRequest for SlackApiConversationsListRequest[src]

type ResponseType = SlackApiConversationsListResponse

type CursorType = SlackCursorId

type ResponseItemType = SlackChannelInfo

impl StructuralPartialEq for SlackApiConversationsListRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.