pub struct WidgetDate {Show 14 fields
pub actions: Option<Vec<Value>>,
pub empty_strategy: Option<String>,
pub empty_text: Option<String>,
pub filter: Option<WidgetDateFilterVariant1>,
pub help_link: Option<String>,
pub is_mandatory: Option<bool>,
pub key: String,
pub orientation: Option<String>,
pub replacement: Option<String>,
pub title: String,
pub widget_settings: WidgetDateWidgetSettings,
pub items: Vec<WidgetDateItem>,
pub widget_type: String,
pub extra: Map<String, Value>,
}Fields§
§actions: Option<Vec<Value>>§empty_strategy: Option<String>Strategy for handling empty widget content
Allowed values: HIDE, SHOW.
empty_text: Option<String>§filter: Option<WidgetDateFilterVariant1>§help_link: Option<String>§is_mandatory: Option<bool>§key: String§orientation: Option<String>Allowed values: horizontal, vertical.
replacement: Option<String>§title: String§widget_settings: WidgetDateWidgetSettings§items: Vec<WidgetDateItem>§widget_type: StringAllowed values: date.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for WidgetDate
impl Clone for WidgetDate
Source§impl Debug for WidgetDate
impl Debug for WidgetDate
Source§impl Default for WidgetDate
impl Default for WidgetDate
Source§impl<'de> Deserialize<'de> for WidgetDate
impl<'de> Deserialize<'de> for WidgetDate
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 WidgetDate
impl PartialEq for WidgetDate
Source§impl Serialize for WidgetDate
impl Serialize for WidgetDate
impl StructuralPartialEq for WidgetDate
Auto Trait Implementations§
impl Freeze for WidgetDate
impl RefUnwindSafe for WidgetDate
impl Send for WidgetDate
impl Sync for WidgetDate
impl Unpin for WidgetDate
impl UnsafeUnpin for WidgetDate
impl UnwindSafe for WidgetDate
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