pub struct WidgetActionPostsAll {
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.posts.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 Clone for WidgetActionPostsAll
impl Clone for WidgetActionPostsAll
Source§impl Debug for WidgetActionPostsAll
impl Debug for WidgetActionPostsAll
Source§impl Default for WidgetActionPostsAll
impl Default for WidgetActionPostsAll
Source§impl<'de> Deserialize<'de> for WidgetActionPostsAll
impl<'de> Deserialize<'de> for WidgetActionPostsAll
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 WidgetActionPostsAll
impl PartialEq for WidgetActionPostsAll
Source§impl Serialize for WidgetActionPostsAll
impl Serialize for WidgetActionPostsAll
impl StructuralPartialEq for WidgetActionPostsAll
Auto Trait Implementations§
impl Freeze for WidgetActionPostsAll
impl RefUnwindSafe for WidgetActionPostsAll
impl Send for WidgetActionPostsAll
impl Sync for WidgetActionPostsAll
impl Unpin for WidgetActionPostsAll
impl UnsafeUnpin for WidgetActionPostsAll
impl UnwindSafe for WidgetActionPostsAll
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