pub struct SlackApiUserGroupsUpdateRequest {
pub usergroup: SlackUserGroupId,
pub additional_channels: Option<SlackChannelId>,
pub channels: Option<SlackChannelId>,
pub description: Option<String>,
pub enable_section: Option<bool>,
pub handle: Option<String>,
pub include_count: Option<bool>,
pub name: Option<String>,
pub team_id: Option<SlackTeamId>,
}Fields§
§usergroup: SlackUserGroupId§additional_channels: Option<SlackChannelId>§channels: Option<SlackChannelId>§description: Option<String>§enable_section: Option<bool>§handle: Option<String>§include_count: Option<bool>§name: Option<String>§team_id: Option<SlackTeamId>Implementations§
Source§impl SlackApiUserGroupsUpdateRequest
impl SlackApiUserGroupsUpdateRequest
pub fn new(usergroup: SlackUserGroupId) -> Self
pub fn usergroup(&mut self, value: SlackUserGroupId) -> &mut Self
pub fn with_usergroup(self, value: SlackUserGroupId) -> Self
pub fn additional_channels(&mut self, value: SlackChannelId) -> &mut Self
pub fn reset_additional_channels(&mut self) -> &mut Self
pub fn mopt_additional_channels( &mut self, value: Option<SlackChannelId>, ) -> &mut Self
pub fn with_additional_channels(self, value: SlackChannelId) -> Self
pub fn without_additional_channels(self) -> Self
pub fn opt_additional_channels(self, value: Option<SlackChannelId>) -> Self
pub fn channels(&mut self, value: SlackChannelId) -> &mut Self
pub fn reset_channels(&mut self) -> &mut Self
pub fn mopt_channels(&mut self, value: Option<SlackChannelId>) -> &mut Self
pub fn with_channels(self, value: SlackChannelId) -> Self
pub fn without_channels(self) -> Self
pub fn opt_channels(self, value: Option<SlackChannelId>) -> Self
pub fn description(&mut self, value: String) -> &mut Self
pub fn reset_description(&mut self) -> &mut Self
pub fn mopt_description(&mut self, value: Option<String>) -> &mut Self
pub fn with_description(self, value: String) -> Self
pub fn without_description(self) -> Self
pub fn opt_description(self, value: Option<String>) -> Self
pub fn enable_section(&mut self, value: bool) -> &mut Self
pub fn reset_enable_section(&mut self) -> &mut Self
pub fn mopt_enable_section(&mut self, value: Option<bool>) -> &mut Self
pub fn with_enable_section(self, value: bool) -> Self
pub fn without_enable_section(self) -> Self
pub fn opt_enable_section(self, value: Option<bool>) -> Self
pub fn handle(&mut self, value: String) -> &mut Self
pub fn reset_handle(&mut self) -> &mut Self
pub fn mopt_handle(&mut self, value: Option<String>) -> &mut Self
pub fn with_handle(self, value: String) -> Self
pub fn without_handle(self) -> Self
pub fn opt_handle(self, value: Option<String>) -> 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 name(&mut self, value: String) -> &mut Self
pub fn reset_name(&mut self) -> &mut Self
pub fn mopt_name(&mut self, value: Option<String>) -> &mut Self
pub fn with_name(self, value: String) -> Self
pub fn without_name(self) -> Self
pub fn opt_name(self, value: Option<String>) -> 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 SlackApiUserGroupsUpdateRequest
impl Clone for SlackApiUserGroupsUpdateRequest
Source§fn clone(&self) -> SlackApiUserGroupsUpdateRequest
fn clone(&self) -> SlackApiUserGroupsUpdateRequest
Returns a duplicate 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 SlackApiUserGroupsUpdateRequest
impl<'de> Deserialize<'de> for SlackApiUserGroupsUpdateRequest
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<SlackApiUserGroupsUpdateRequestInit> for SlackApiUserGroupsUpdateRequest
impl From<SlackApiUserGroupsUpdateRequestInit> for SlackApiUserGroupsUpdateRequest
Source§fn from(value: SlackApiUserGroupsUpdateRequestInit) -> Self
fn from(value: SlackApiUserGroupsUpdateRequestInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiUserGroupsUpdateRequest
impl PartialEq for SlackApiUserGroupsUpdateRequest
Source§fn eq(&self, other: &SlackApiUserGroupsUpdateRequest) -> bool
fn eq(&self, other: &SlackApiUserGroupsUpdateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlackApiUserGroupsUpdateRequest
Auto Trait Implementations§
impl Freeze for SlackApiUserGroupsUpdateRequest
impl RefUnwindSafe for SlackApiUserGroupsUpdateRequest
impl Send for SlackApiUserGroupsUpdateRequest
impl Sync for SlackApiUserGroupsUpdateRequest
impl Unpin for SlackApiUserGroupsUpdateRequest
impl UnwindSafe for SlackApiUserGroupsUpdateRequest
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