#[non_exhaustive]pub struct ConversationsCreateRequest {
pub name: String,
pub is_private: Option<bool>,
pub team_id: Option<String>,
}Expand description
Arguments for the Slack Web API method conversations.create: Initiates a public or private channel-based conversation
Send it with SlackClient::conversations_create.
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.name: StringName of the public or private channel to create
is_private: Option<bool>Create a private channel instead of a public one
team_id: Option<String>encoded team id to create the channel in, required if org token is used
Implementations§
Trait Implementations§
Source§impl Clone for ConversationsCreateRequest
impl Clone for ConversationsCreateRequest
Source§impl Debug for ConversationsCreateRequest
impl Debug for ConversationsCreateRequest
impl StructuralPartialEq for ConversationsCreateRequest
Auto Trait Implementations§
impl Freeze for ConversationsCreateRequest
impl RefUnwindSafe for ConversationsCreateRequest
impl Send for ConversationsCreateRequest
impl Sync for ConversationsCreateRequest
impl Unpin for ConversationsCreateRequest
impl UnsafeUnpin for ConversationsCreateRequest
impl UnwindSafe for ConversationsCreateRequest
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