pub struct TimePickerBlockElementBuilder {
pub action_id: String,
pub placeholder: Option<TextBlockObject>,
pub initial_time: Option<String>,
pub confirm: Option<ConfirmationBlockObject>,
}Fields§
§action_id: String§placeholder: Option<TextBlockObject>§initial_time: Option<String>§confirm: Option<ConfirmationBlockObject>Implementations§
Source§impl TimePickerBlockElementBuilder
impl TimePickerBlockElementBuilder
pub fn new(action_id: String) -> TimePickerBlockElementBuilder
pub fn placeholder( self, placeholder: TextBlockObject, ) -> TimePickerBlockElementBuilder
pub fn initial_time(self, initial_time: String) -> TimePickerBlockElementBuilder
pub fn confirm( self, confirm: ConfirmationBlockObject, ) -> TimePickerBlockElementBuilder
pub fn build(self) -> TimePickerBlockElementBuilder
Trait Implementations§
Source§impl Default for TimePickerBlockElementBuilder
impl Default for TimePickerBlockElementBuilder
Source§fn default() -> TimePickerBlockElementBuilder
fn default() -> TimePickerBlockElementBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TimePickerBlockElementBuilder
impl RefUnwindSafe for TimePickerBlockElementBuilder
impl Send for TimePickerBlockElementBuilder
impl Sync for TimePickerBlockElementBuilder
impl Unpin for TimePickerBlockElementBuilder
impl UnwindSafe for TimePickerBlockElementBuilder
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