pub struct DatePickerElement {
pub action_id: Option<String>,
pub initial_date: Option<String>,
pub confirm: Option<ConfirmationDialog>,
pub focus_on_load: Option<bool>,
pub placeholder: Option<TextObject>,
/* private fields */
}Expand description
Fields§
§action_id: Option<String>§initial_date: Option<String>§confirm: Option<ConfirmationDialog>§focus_on_load: Option<bool>§placeholder: Option<TextObject>Implementations§
Source§impl DatePickerElement
impl DatePickerElement
pub fn new() -> Self
pub fn action_id(self, action_id: impl Into<String>) -> Self
pub fn initial_date(self, initial_date: impl Into<String>) -> Self
pub fn confirm(self, confirm: ConfirmationDialog) -> Self
pub fn focus_on_load(self, focus_on_load: bool) -> Self
pub fn placeholder(self, placeholder: impl Into<TextObject>) -> Self
Trait Implementations§
Source§impl Clone for DatePickerElement
impl Clone for DatePickerElement
Source§impl Debug for DatePickerElement
impl Debug for DatePickerElement
Source§impl Default for DatePickerElement
impl Default for DatePickerElement
Source§impl<'de> Deserialize<'de> for DatePickerElement
impl<'de> Deserialize<'de> for DatePickerElement
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 From<DatePickerElement> for ActionsElement
impl From<DatePickerElement> for ActionsElement
Source§fn from(value: DatePickerElement) -> Self
fn from(value: DatePickerElement) -> Self
Converts to this type from the input type.
Source§impl From<DatePickerElement> for SectionAccessory
impl From<DatePickerElement> for SectionAccessory
Source§fn from(value: DatePickerElement) -> Self
fn from(value: DatePickerElement) -> Self
Converts to this type from the input type.
Source§impl From<DatePickerElement> for InputElement
impl From<DatePickerElement> for InputElement
Source§fn from(value: DatePickerElement) -> Self
fn from(value: DatePickerElement) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DatePickerElement
impl PartialEq for DatePickerElement
Source§impl Serialize for DatePickerElement
impl Serialize for DatePickerElement
impl StructuralPartialEq for DatePickerElement
Auto Trait Implementations§
impl Freeze for DatePickerElement
impl RefUnwindSafe for DatePickerElement
impl Send for DatePickerElement
impl Sync for DatePickerElement
impl Unpin for DatePickerElement
impl UnsafeUnpin for DatePickerElement
impl UnwindSafe for DatePickerElement
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