pub struct WidgetDetail {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<WidgetDetailItem>,
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<WidgetDetailItem>§widget_type: StringAllowed values: detail.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for WidgetDetail
impl Clone for WidgetDetail
Source§impl Debug for WidgetDetail
impl Debug for WidgetDetail
Source§impl Default for WidgetDetail
impl Default for WidgetDetail
Source§impl<'de> Deserialize<'de> for WidgetDetail
impl<'de> Deserialize<'de> for WidgetDetail
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 WidgetDetail
impl PartialEq for WidgetDetail
Source§impl Serialize for WidgetDetail
impl Serialize for WidgetDetail
impl StructuralPartialEq for WidgetDetail
Auto Trait Implementations§
impl Freeze for WidgetDetail
impl RefUnwindSafe for WidgetDetail
impl Send for WidgetDetail
impl Sync for WidgetDetail
impl Unpin for WidgetDetail
impl UnsafeUnpin for WidgetDetail
impl UnwindSafe for WidgetDetail
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