pub struct WidgetActionServiceRequestsAll {
pub flavor: Option<String>,
pub icon: Option<String>,
pub key: String,
pub label: String,
pub props: Option<BTreeMap<String, Value>>,
pub type: String,
pub action_data: Option<BTreeMap<String, Value>>,
pub extra: Map<String, Value>,
}Fields§
§flavor: Option<String>Flavor of widget action
Allowed values: accent, basic, constructive, destructive, magic.
icon: Option<String>§key: StringAllowed values: action.service-requests.all.
label: String§props: Option<BTreeMap<String, Value>>§type: StringType of widget action
Allowed values: details, other, primary, secondary.
action_data: Option<BTreeMap<String, Value>>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WidgetActionServiceRequestsAll
impl<'de> Deserialize<'de> for WidgetActionServiceRequestsAll
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
impl StructuralPartialEq for WidgetActionServiceRequestsAll
Auto Trait Implementations§
impl Freeze for WidgetActionServiceRequestsAll
impl RefUnwindSafe for WidgetActionServiceRequestsAll
impl Send for WidgetActionServiceRequestsAll
impl Sync for WidgetActionServiceRequestsAll
impl Unpin for WidgetActionServiceRequestsAll
impl UnsafeUnpin for WidgetActionServiceRequestsAll
impl UnwindSafe for WidgetActionServiceRequestsAll
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