pub struct BlockElementSelectMenuPublicChannel {
pub element_type: String,
pub action_id: String,
pub initial_channel: Option<String>,
pub confirm: Option<CompositionObjectConfirmationDialog>,
pub response_url_enabled: Option<bool>,
pub focus_on_load: Option<bool>,
pub placeholder: Option<CompositionObjectText>,
}
Expand description
https://api.slack.com/reference/block-kit/block-elements#channels_select
Fields§
§element_type: String
§action_id: String
§initial_channel: Option<String>
§confirm: Option<CompositionObjectConfirmationDialog>
§response_url_enabled: Option<bool>
§focus_on_load: Option<bool>
§placeholder: Option<CompositionObjectText>
Trait Implementations§
Source§impl Clone for BlockElementSelectMenuPublicChannel
impl Clone for BlockElementSelectMenuPublicChannel
Source§fn clone(&self) -> BlockElementSelectMenuPublicChannel
fn clone(&self) -> BlockElementSelectMenuPublicChannel
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 BlockElementSelectMenuPublicChannel
impl<'de> Deserialize<'de> for BlockElementSelectMenuPublicChannel
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
Auto Trait Implementations§
impl Freeze for BlockElementSelectMenuPublicChannel
impl RefUnwindSafe for BlockElementSelectMenuPublicChannel
impl Send for BlockElementSelectMenuPublicChannel
impl Sync for BlockElementSelectMenuPublicChannel
impl Unpin for BlockElementSelectMenuPublicChannel
impl UnwindSafe for BlockElementSelectMenuPublicChannel
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