#[non_exhaustive]pub struct SlackListsAccessDeleteRequest {
pub list_id: String,
pub channel_ids: Option<Vec<String>>,
pub user_ids: Option<Vec<String>>,
}Expand description
Arguments for the Slack Web API method slackLists.access.delete: Revoke access to a List for specified entities.
Send it with SlackClient::slack_lists_access_delete.
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.
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§
impl StructuralPartialEq for SlackListsAccessDeleteRequest
Auto Trait Implementations§
impl Freeze for SlackListsAccessDeleteRequest
impl RefUnwindSafe for SlackListsAccessDeleteRequest
impl Send for SlackListsAccessDeleteRequest
impl Sync for SlackListsAccessDeleteRequest
impl Unpin for SlackListsAccessDeleteRequest
impl UnsafeUnpin for SlackListsAccessDeleteRequest
impl UnwindSafe for SlackListsAccessDeleteRequest
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