pub enum PluginSurfaceEvent {
ModeIndicatorUpsert {
key: String,
label: String,
},
ModeIndicatorClear {
key: String,
},
PanelUpsert {
key: String,
title: String,
content: String,
},
PanelAppend {
key: String,
content: String,
},
PanelClear {
key: String,
},
Status {
key: String,
label: String,
detail: Option<String>,
transient_ms: Option<u64>,
},
Custom {
name: String,
payload: Value,
},
}Variants§
Trait Implementations§
Source§impl Clone for PluginSurfaceEvent
impl Clone for PluginSurfaceEvent
Source§fn clone(&self) -> PluginSurfaceEvent
fn clone(&self) -> PluginSurfaceEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginSurfaceEvent
impl Debug for PluginSurfaceEvent
Source§impl<'de> Deserialize<'de> for PluginSurfaceEvent
impl<'de> Deserialize<'de> for PluginSurfaceEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PluginSurfaceEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PluginSurfaceEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PluginSurfaceEvent
impl PartialEq for PluginSurfaceEvent
Source§fn eq(&self, other: &PluginSurfaceEvent) -> bool
fn eq(&self, other: &PluginSurfaceEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PluginSurfaceEvent
impl Serialize for PluginSurfaceEvent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PluginSurfaceEvent
impl StructuralPartialEq for PluginSurfaceEvent
Auto Trait Implementations§
impl Freeze for PluginSurfaceEvent
impl RefUnwindSafe for PluginSurfaceEvent
impl Send for PluginSurfaceEvent
impl Sync for PluginSurfaceEvent
impl Unpin for PluginSurfaceEvent
impl UnsafeUnpin for PluginSurfaceEvent
impl UnwindSafe for PluginSurfaceEvent
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