pub struct SlackApiUserGroupsUsersListRequest {
pub usergroup: SlackUserGroupId,
pub include_disabled: Option<bool>,
pub team_id: Option<SlackTeamId>,
}Fields§
§usergroup: SlackUserGroupId§include_disabled: Option<bool>§team_id: Option<SlackTeamId>Implementations§
Source§impl SlackApiUserGroupsUsersListRequest
impl SlackApiUserGroupsUsersListRequest
Sourcepub fn new(usergroup: SlackUserGroupId) -> Self
pub fn new(usergroup: SlackUserGroupId) -> Self
Creates a new SlackApiUserGroupsUsersListRequest from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn usergroup(&mut self, value: SlackUserGroupId) -> &mut Self
pub fn usergroup(&mut self, value: SlackUserGroupId) -> &mut Self
Sets usergroup to value.
Sourcepub fn with_usergroup(self, value: SlackUserGroupId) -> Self
pub fn with_usergroup(self, value: SlackUserGroupId) -> Self
Returns self with usergroup set to value.
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 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.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackApiUserGroupsUsersListRequest
impl<'de> Deserialize<'de> for SlackApiUserGroupsUsersListRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SlackApiUserGroupsUsersListRequestInit> for SlackApiUserGroupsUsersListRequest
impl From<SlackApiUserGroupsUsersListRequestInit> for SlackApiUserGroupsUsersListRequest
Source§fn from(value: SlackApiUserGroupsUsersListRequestInit) -> Self
fn from(value: SlackApiUserGroupsUsersListRequestInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiUserGroupsUsersListRequest
Auto Trait Implementations§
impl Freeze for SlackApiUserGroupsUsersListRequest
impl RefUnwindSafe for SlackApiUserGroupsUsersListRequest
impl Send for SlackApiUserGroupsUsersListRequest
impl Sync for SlackApiUserGroupsUsersListRequest
impl Unpin for SlackApiUserGroupsUsersListRequest
impl UnsafeUnpin for SlackApiUserGroupsUsersListRequest
impl UnwindSafe for SlackApiUserGroupsUsersListRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more