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