Struct slack_web_api::BlockElementTimePicker
source · pub struct BlockElementTimePicker {
pub element_type: String,
pub action_id: String,
pub initial_time: Option<String>,
pub confirm: Option<CompositionObjectConfirmationDialog>,
pub response_url_enabled: Option<bool>,
pub focus_on_load: Option<bool>,
pub placeholder: Option<CompositionObjectText>,
pub timezone: Option<String>,
}Expand description
https://api.slack.com/reference/block-kit/block-elements#timepicker
Fields§
§element_type: String§action_id: String§initial_time: Option<String>§confirm: Option<CompositionObjectConfirmationDialog>§response_url_enabled: Option<bool>§focus_on_load: Option<bool>§placeholder: Option<CompositionObjectText>§timezone: Option<String>Trait Implementations§
source§impl Clone for BlockElementTimePicker
impl Clone for BlockElementTimePicker
source§fn clone(&self) -> BlockElementTimePicker
fn clone(&self) -> BlockElementTimePicker
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 BlockElementTimePicker
impl Debug for BlockElementTimePicker
source§impl Default for BlockElementTimePicker
impl Default for BlockElementTimePicker
source§impl<'de> Deserialize<'de> for BlockElementTimePicker
impl<'de> Deserialize<'de> for BlockElementTimePicker
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 BlockElementTimePicker
impl Send for BlockElementTimePicker
impl Sync for BlockElementTimePicker
impl Unpin for BlockElementTimePicker
impl UnwindSafe for BlockElementTimePicker
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