Struct slack_morphism::api::SlackApiUserGroupsListRequest
source · 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
pub fn new() -> Self
pub fn include_count(&mut self, value: bool) -> &mut Self
pub fn reset_include_count(&mut self) -> &mut Self
pub fn mopt_include_count(&mut self, value: Option<bool>) -> &mut Self
pub fn with_include_count(self, value: bool) -> Self
pub fn without_include_count(self) -> Self
pub fn opt_include_count(self, value: Option<bool>) -> Self
pub fn include_disabled(&mut self, value: bool) -> &mut Self
pub fn reset_include_disabled(&mut self) -> &mut Self
pub fn mopt_include_disabled(&mut self, value: Option<bool>) -> &mut Self
pub fn with_include_disabled(self, value: bool) -> Self
pub fn without_include_disabled(self) -> Self
pub fn opt_include_disabled(self, value: Option<bool>) -> Self
pub fn include_users(&mut self, value: bool) -> &mut Self
pub fn reset_include_users(&mut self) -> &mut Self
pub fn mopt_include_users(&mut self, value: Option<bool>) -> &mut Self
pub fn with_include_users(self, value: bool) -> Self
pub fn without_include_users(self) -> Self
pub fn opt_include_users(self, value: Option<bool>) -> Self
pub fn team_id(&mut self, value: SlackTeamId) -> &mut Self
pub fn reset_team_id(&mut self) -> &mut Self
pub fn mopt_team_id(&mut self, value: Option<SlackTeamId>) -> &mut Self
pub fn with_team_id(self, value: SlackTeamId) -> Self
pub fn without_team_id(self) -> Self
pub fn opt_team_id(self, value: Option<SlackTeamId>) -> Self
Trait Implementations§
source§impl Clone for SlackApiUserGroupsListRequest
impl Clone for SlackApiUserGroupsListRequest
source§fn clone(&self) -> SlackApiUserGroupsListRequest
fn clone(&self) -> SlackApiUserGroupsListRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for SlackApiUserGroupsListRequest
impl<'de> Deserialize<'de> for SlackApiUserGroupsListRequest
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<SlackApiUserGroupsListRequestInit> for SlackApiUserGroupsListRequest
impl From<SlackApiUserGroupsListRequestInit> for SlackApiUserGroupsListRequest
source§fn from(value: SlackApiUserGroupsListRequestInit) -> Self
fn from(value: SlackApiUserGroupsListRequestInit) -> Self
Converts to this type from the input type.
source§impl PartialEq for SlackApiUserGroupsListRequest
impl PartialEq for SlackApiUserGroupsListRequest
source§fn eq(&self, other: &SlackApiUserGroupsListRequest) -> bool
fn eq(&self, other: &SlackApiUserGroupsListRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackApiUserGroupsListRequest
Auto Trait Implementations§
impl RefUnwindSafe for SlackApiUserGroupsListRequest
impl Send for SlackApiUserGroupsListRequest
impl Sync for SlackApiUserGroupsListRequest
impl Unpin for SlackApiUserGroupsListRequest
impl UnwindSafe for SlackApiUserGroupsListRequest
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