pub struct DatetimePickerAction {
pub type_field: String,
pub label: Option<String>,
pub data: String,
pub mode: String,
pub initial: Option<String>,
pub max: Option<String>,
pub min: Option<String>,
}Fields§
§type_field: String§label: Option<String>§data: String§mode: String§initial: Option<String>§max: Option<String>§min: Option<String>Implementations§
Source§impl DatetimePickerAction
impl DatetimePickerAction
Sourcepub fn builder() -> DatetimePickerActionBuilder<((), (), (), (), (), (), ())>
pub fn builder() -> DatetimePickerActionBuilder<((), (), (), (), (), (), ())>
Create a builder for building DatetimePickerAction.
On the builder, call .type_field(...)(optional), .label(...)(optional), .data(...), .mode(...), .initial(...)(optional), .max(...)(optional), .min(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of DatetimePickerAction.
Trait Implementations§
Source§impl Clone for DatetimePickerAction
impl Clone for DatetimePickerAction
Source§fn clone(&self) -> DatetimePickerAction
fn clone(&self) -> DatetimePickerAction
Returns a duplicate 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 DatetimePickerAction
impl Debug for DatetimePickerAction
Source§impl<'de> Deserialize<'de> for DatetimePickerAction
impl<'de> Deserialize<'de> for DatetimePickerAction
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<DatetimePickerAction> for Actions
impl From<DatetimePickerAction> for Actions
Source§fn from(action: DatetimePickerAction) -> Self
fn from(action: DatetimePickerAction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DatetimePickerAction
impl RefUnwindSafe for DatetimePickerAction
impl Send for DatetimePickerAction
impl Sync for DatetimePickerAction
impl Unpin for DatetimePickerAction
impl UnwindSafe for DatetimePickerAction
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