Enum gveditor_core_api::messaging::Messages [−][src]
pub enum Messages {
ListenToState {
trigger: String,
state_id: u8,
},
StateUpdated {
state: State,
},
ShowPopup {
state_id: u8,
popup_id: String,
content: String,
title: String,
},
ShowStatusBarItem {
state_id: u8,
statusbar_item_id: String,
label: String,
},
HideStatusBarItem {
state_id: u8,
statusbar_item_id: String,
},
}
Variants
ListenToState
StateUpdated
Fields
state: State
ShowPopup
ShowStatusBarItem
HideStatusBarItem
Implementations
Trait Implementations
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
Auto Trait Implementations
impl !RefUnwindSafe for Messages
impl !UnwindSafe for Messages
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more