pub struct TimePickerBlockElement {
pub action_id: String,
pub placeholder: Option<TextBlockObject>,
pub initial_time: Option<String>,
pub confirm: Option<ConfirmationBlockObject>,
}Expand description
An element which allows selection of a time of day.
See: https://api.slack.com/reference/block-kit/block-elements#timepicker
Fields§
§action_id: String§placeholder: Option<TextBlockObject>§initial_time: Option<String>§confirm: Option<ConfirmationBlockObject>Implementations§
Source§impl TimePickerBlockElement
impl TimePickerBlockElement
pub fn builder(action_id: String) -> TimePickerBlockElementBuilder
Trait Implementations§
Source§impl Debug for TimePickerBlockElement
impl Debug for TimePickerBlockElement
Source§impl Default for TimePickerBlockElement
impl Default for TimePickerBlockElement
Source§fn default() -> TimePickerBlockElement
fn default() -> TimePickerBlockElement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimePickerBlockElement
impl<'de> Deserialize<'de> for TimePickerBlockElement
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
Source§impl PartialEq for TimePickerBlockElement
impl PartialEq for TimePickerBlockElement
Source§impl Serialize for TimePickerBlockElement
impl Serialize for TimePickerBlockElement
impl StructuralPartialEq for TimePickerBlockElement
Auto Trait Implementations§
impl Freeze for TimePickerBlockElement
impl RefUnwindSafe for TimePickerBlockElement
impl Send for TimePickerBlockElement
impl Sync for TimePickerBlockElement
impl Unpin for TimePickerBlockElement
impl UnwindSafe for TimePickerBlockElement
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