pub struct SlackApiUserGroupsListRequest {
pub include_count: Option<bool>,
pub include_disabled: Option<bool>,
pub include_users: Option<bool>,
pub team_id: Option<SlackTeamId>,
}Fields§
§include_count: Option<bool>§include_disabled: Option<bool>§include_users: Option<bool>§team_id: Option<SlackTeamId>Implementations§
Source§impl SlackApiUserGroupsListRequest
impl SlackApiUserGroupsListRequest
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new SlackApiUserGroupsListRequest from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn include_count(&mut self, value: bool) -> &mut Self
pub fn include_count(&mut self, value: bool) -> &mut Self
Sets include_count to Some(value).
Sourcepub fn reset_include_count(&mut self) -> &mut Self
pub fn reset_include_count(&mut self) -> &mut Self
Sets include_count to None.
Sourcepub fn mopt_include_count(&mut self, value: Option<bool>) -> &mut Self
pub fn mopt_include_count(&mut self, value: Option<bool>) -> &mut Self
Sets include_count to the given Option.
Sourcepub fn with_include_count(self, value: bool) -> Self
pub fn with_include_count(self, value: bool) -> Self
Returns self with include_count set to Some(value).
Sourcepub fn without_include_count(self) -> Self
pub fn without_include_count(self) -> Self
Returns self with include_count set to None.
Sourcepub fn opt_include_count(self, value: Option<bool>) -> Self
pub fn opt_include_count(self, value: Option<bool>) -> Self
Returns self with include_count set to the given Option.
Sourcepub fn include_disabled(&mut self, value: bool) -> &mut Self
pub fn include_disabled(&mut self, value: bool) -> &mut Self
Sets include_disabled to Some(value).
Sourcepub fn reset_include_disabled(&mut self) -> &mut Self
pub fn reset_include_disabled(&mut self) -> &mut Self
Sets include_disabled to None.
Sourcepub fn mopt_include_disabled(&mut self, value: Option<bool>) -> &mut Self
pub fn mopt_include_disabled(&mut self, value: Option<bool>) -> &mut Self
Sets include_disabled to the given Option.
Sourcepub fn with_include_disabled(self, value: bool) -> Self
pub fn with_include_disabled(self, value: bool) -> Self
Returns self with include_disabled set to Some(value).
Sourcepub fn without_include_disabled(self) -> Self
pub fn without_include_disabled(self) -> Self
Returns self with include_disabled set to None.
Sourcepub fn opt_include_disabled(self, value: Option<bool>) -> Self
pub fn opt_include_disabled(self, value: Option<bool>) -> Self
Returns self with include_disabled set to the given Option.
Sourcepub fn include_users(&mut self, value: bool) -> &mut Self
pub fn include_users(&mut self, value: bool) -> &mut Self
Sets include_users to Some(value).
Sourcepub fn reset_include_users(&mut self) -> &mut Self
pub fn reset_include_users(&mut self) -> &mut Self
Sets include_users to None.
Sourcepub fn mopt_include_users(&mut self, value: Option<bool>) -> &mut Self
pub fn mopt_include_users(&mut self, value: Option<bool>) -> &mut Self
Sets include_users to the given Option.
Sourcepub fn with_include_users(self, value: bool) -> Self
pub fn with_include_users(self, value: bool) -> Self
Returns self with include_users set to Some(value).
Sourcepub fn without_include_users(self) -> Self
pub fn without_include_users(self) -> Self
Returns self with include_users set to None.
Sourcepub fn opt_include_users(self, value: Option<bool>) -> Self
pub fn opt_include_users(self, value: Option<bool>) -> Self
Returns self with include_users set to the given Option.
Sourcepub fn team_id(&mut self, value: SlackTeamId) -> &mut Self
pub fn team_id(&mut self, value: SlackTeamId) -> &mut Self
Sets team_id to Some(value).
Sourcepub fn reset_team_id(&mut self) -> &mut Self
pub fn reset_team_id(&mut self) -> &mut Self
Sets team_id to None.
Sourcepub fn mopt_team_id(&mut self, value: Option<SlackTeamId>) -> &mut Self
pub fn mopt_team_id(&mut self, value: Option<SlackTeamId>) -> &mut Self
Sets team_id to the given Option.
Sourcepub fn with_team_id(self, value: SlackTeamId) -> Self
pub fn with_team_id(self, value: SlackTeamId) -> Self
Returns self with team_id set to Some(value).
Sourcepub fn without_team_id(self) -> Self
pub fn without_team_id(self) -> Self
Returns self with team_id set to None.
Sourcepub fn opt_team_id(self, value: Option<SlackTeamId>) -> Self
pub fn opt_team_id(self, value: Option<SlackTeamId>) -> Self
Returns self with team_id set to the given Option.