[][src]Struct slack_morphism::api::SlackApiUsersConversationsRequest

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

Fields

cursor: Option<SlackCursorId>limit: Option<u16>exclude_archived: Option<bool>types: Option<Vec<SlackConversationType>>user: Option<SlackUserId>

Implementations

impl SlackApiUsersConversationsRequest[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]

pub fn user(&mut self, value: SlackUserId) -> &mut Self[src]

pub fn reset_user(&mut self) -> &mut Self[src]

pub fn mopt_user(&mut self, value: Option<SlackUserId>) -> &mut Self[src]

pub fn with_user(self, value: SlackUserId) -> Self[src]

pub fn without_user(self) -> Self[src]

pub fn opt_user(self, value: Option<SlackUserId>) -> Self[src]

Trait Implementations

impl Clone for SlackApiUsersConversationsRequest[src]

impl Debug for SlackApiUsersConversationsRequest[src]

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

impl From<SlackApiUsersConversationsRequestInit> for SlackApiUsersConversationsRequest[src]

impl PartialEq<SlackApiUsersConversationsRequest> for SlackApiUsersConversationsRequest[src]

impl Serialize for SlackApiUsersConversationsRequest[src]

impl SlackApiScrollableRequest for SlackApiUsersConversationsRequest[src]

type ResponseType = SlackApiUsersConversationsResponse

type CursorType = SlackCursorId

type ResponseItemType = SlackChannelInfo

impl StructuralPartialEq for SlackApiUsersConversationsRequest[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> Instrument 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.