pub struct WidgetItemActionServiceRequests {
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.serviceRequests.absence, action.serviceRequests.accept, action.serviceRequests.comment, action.serviceRequests.decline, action.serviceRequests.exchange, action.serviceRequests.undo.
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 WidgetItemActionServiceRequests
impl<'de> Deserialize<'de> for WidgetItemActionServiceRequests
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 WidgetItemActionServiceRequests
Auto Trait Implementations§
impl Freeze for WidgetItemActionServiceRequests
impl RefUnwindSafe for WidgetItemActionServiceRequests
impl Send for WidgetItemActionServiceRequests
impl Sync for WidgetItemActionServiceRequests
impl Unpin for WidgetItemActionServiceRequests
impl UnsafeUnpin for WidgetItemActionServiceRequests
impl UnwindSafe for WidgetItemActionServiceRequests
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