pub struct SlackApiConversationsInfoRequest {
pub channel: SlackChannelId,
pub include_locale: Option<bool>,
pub include_num_members: Option<bool>,
}Fields§
§channel: SlackChannelId§include_locale: Option<bool>§include_num_members: Option<bool>Implementations§
Source§impl SlackApiConversationsInfoRequest
impl SlackApiConversationsInfoRequest
Sourcepub fn new(channel: SlackChannelId) -> Self
pub fn new(channel: SlackChannelId) -> Self
Creates a new SlackApiConversationsInfoRequest from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
Sets channel to value.
Sourcepub fn with_channel(self, value: SlackChannelId) -> Self
pub fn with_channel(self, value: SlackChannelId) -> Self
Returns self with channel set to value.
Sourcepub fn include_locale(&mut self, value: bool) -> &mut Self
pub fn include_locale(&mut self, value: bool) -> &mut Self
Sets include_locale to Some(value).
Sourcepub fn reset_include_locale(&mut self) -> &mut Self
pub fn reset_include_locale(&mut self) -> &mut Self
Sets include_locale to None.
Sourcepub fn mopt_include_locale(&mut self, value: Option<bool>) -> &mut Self
pub fn mopt_include_locale(&mut self, value: Option<bool>) -> &mut Self
Sets include_locale to the given Option.
Sourcepub fn with_include_locale(self, value: bool) -> Self
pub fn with_include_locale(self, value: bool) -> Self
Returns self with include_locale set to Some(value).
Sourcepub fn without_include_locale(self) -> Self
pub fn without_include_locale(self) -> Self
Returns self with include_locale set to None.
Sourcepub fn opt_include_locale(self, value: Option<bool>) -> Self
pub fn opt_include_locale(self, value: Option<bool>) -> Self
Returns self with include_locale set to the given Option.
Sourcepub fn include_num_members(&mut self, value: bool) -> &mut Self
pub fn include_num_members(&mut self, value: bool) -> &mut Self
Sets include_num_members to Some(value).
Sourcepub fn reset_include_num_members(&mut self) -> &mut Self
pub fn reset_include_num_members(&mut self) -> &mut Self
Sets include_num_members to None.
Sourcepub fn mopt_include_num_members(&mut self, value: Option<bool>) -> &mut Self
pub fn mopt_include_num_members(&mut self, value: Option<bool>) -> &mut Self
Sets include_num_members to the given Option.
Sourcepub fn with_include_num_members(self, value: bool) -> Self
pub fn with_include_num_members(self, value: bool) -> Self
Returns self with include_num_members set to Some(value).
Sourcepub fn without_include_num_members(self) -> Self
pub fn without_include_num_members(self) -> Self
Returns self with include_num_members set to None.
Sourcepub fn opt_include_num_members(self, value: Option<bool>) -> Self
pub fn opt_include_num_members(self, value: Option<bool>) -> Self
Returns self with include_num_members set to the given Option.