pub struct WidgetActionGeneralUrl {
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<WidgetActionDataUrl>,
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.general.url.
label: String§props: Option<BTreeMap<String, Value>>§type: StringType of widget action
Allowed values: details, other, primary, secondary.
action_data: Option<WidgetActionDataUrl>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for WidgetActionGeneralUrl
impl Clone for WidgetActionGeneralUrl
Source§impl Debug for WidgetActionGeneralUrl
impl Debug for WidgetActionGeneralUrl
Source§impl Default for WidgetActionGeneralUrl
impl Default for WidgetActionGeneralUrl
Source§impl<'de> Deserialize<'de> for WidgetActionGeneralUrl
impl<'de> Deserialize<'de> for WidgetActionGeneralUrl
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 WidgetActionGeneralUrl
impl PartialEq for WidgetActionGeneralUrl
Source§impl Serialize for WidgetActionGeneralUrl
impl Serialize for WidgetActionGeneralUrl
impl StructuralPartialEq for WidgetActionGeneralUrl
Auto Trait Implementations§
impl Freeze for WidgetActionGeneralUrl
impl RefUnwindSafe for WidgetActionGeneralUrl
impl Send for WidgetActionGeneralUrl
impl Sync for WidgetActionGeneralUrl
impl Unpin for WidgetActionGeneralUrl
impl UnsafeUnpin for WidgetActionGeneralUrl
impl UnwindSafe for WidgetActionGeneralUrl
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