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