Struct slack_web_api::SlackBlockInput
source · pub struct SlackBlockInput {
pub block_type: String,
pub label: BlockElementPlaneTextInput,
pub element: Option<SlackBlockElement>,
pub dispatch_action: Option<bool>,
pub block_id: Option<String>,
pub hint: Option<BlockElementPlaneTextInput>,
pub optional: Option<bool>,
}Fields§
§block_type: String§label: BlockElementPlaneTextInput§element: Option<SlackBlockElement>§dispatch_action: Option<bool>§block_id: Option<String>§hint: Option<BlockElementPlaneTextInput>§optional: Option<bool>Trait Implementations§
source§impl Clone for SlackBlockInput
impl Clone for SlackBlockInput
source§fn clone(&self) -> SlackBlockInput
fn clone(&self) -> SlackBlockInput
Returns a copy 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 Debug for SlackBlockInput
impl Debug for SlackBlockInput
source§impl Default for SlackBlockInput
impl Default for SlackBlockInput
source§impl<'de> Deserialize<'de> for SlackBlockInput
impl<'de> Deserialize<'de> for SlackBlockInput
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 RefUnwindSafe for SlackBlockInput
impl Send for SlackBlockInput
impl Sync for SlackBlockInput
impl Unpin for SlackBlockInput
impl UnwindSafe for SlackBlockInput
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