#[non_exhaustive]pub struct ConversationsKickRequest {
pub channel: String,
pub user: Option<String>,
}Expand description
Arguments for the Slack Web API method conversations.kick: Removes a user from a conversation.
Send it with SlackClient::conversations_kick.
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.channel: StringID of conversation to remove user from.
user: Option<String>User ID to be removed.
Implementations§
Trait Implementations§
Source§impl Clone for ConversationsKickRequest
impl Clone for ConversationsKickRequest
Source§impl Debug for ConversationsKickRequest
impl Debug for ConversationsKickRequest
Source§impl PartialEq for ConversationsKickRequest
impl PartialEq for ConversationsKickRequest
Source§impl Serialize for ConversationsKickRequest
impl Serialize for ConversationsKickRequest
impl StructuralPartialEq for ConversationsKickRequest
Auto Trait Implementations§
impl Freeze for ConversationsKickRequest
impl RefUnwindSafe for ConversationsKickRequest
impl Send for ConversationsKickRequest
impl Sync for ConversationsKickRequest
impl Unpin for ConversationsKickRequest
impl UnsafeUnpin for ConversationsKickRequest
impl UnwindSafe for ConversationsKickRequest
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