pub struct WidgetActionExchangeRequestsAll {
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.exchange-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 WidgetActionExchangeRequestsAll
impl<'de> Deserialize<'de> for WidgetActionExchangeRequestsAll
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 WidgetActionExchangeRequestsAll
Auto Trait Implementations§
impl Freeze for WidgetActionExchangeRequestsAll
impl RefUnwindSafe for WidgetActionExchangeRequestsAll
impl Send for WidgetActionExchangeRequestsAll
impl Sync for WidgetActionExchangeRequestsAll
impl Unpin for WidgetActionExchangeRequestsAll
impl UnsafeUnpin for WidgetActionExchangeRequestsAll
impl UnwindSafe for WidgetActionExchangeRequestsAll
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