#[non_exhaustive]pub struct SlackListsAccessSetRequest {
pub list_id: String,
pub access_level: String,
pub channel_ids: Option<Vec<String>>,
pub user_ids: Option<Vec<String>>,
}Expand description
Arguments for the Slack Web API method slackLists.access.set: Set the access level to a List for specified entities.
Send it with SlackClient::slack_lists_access_set.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.list_id: StringEncoded ID of the List.
access_level: StringDesired level of access.
channel_ids: Option<Vec<String>>List of channels you wish to update access for. Can only be used if user_ids is not provided.
user_ids: Option<Vec<String>>List of users you wish to update access for. Can only be used if channel_ids is not provided.
Implementations§
Trait Implementations§
Source§impl Clone for SlackListsAccessSetRequest
impl Clone for SlackListsAccessSetRequest
Source§impl Debug for SlackListsAccessSetRequest
impl Debug for SlackListsAccessSetRequest
impl StructuralPartialEq for SlackListsAccessSetRequest
Auto Trait Implementations§
impl Freeze for SlackListsAccessSetRequest
impl RefUnwindSafe for SlackListsAccessSetRequest
impl Send for SlackListsAccessSetRequest
impl Sync for SlackListsAccessSetRequest
impl Unpin for SlackListsAccessSetRequest
impl UnsafeUnpin for SlackListsAccessSetRequest
impl UnwindSafe for SlackListsAccessSetRequest
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