Struct lotus_script::action::ActionEvent  
pub struct ActionEvent {
    pub name: String,
    pub state: ActionState,
}Expand description
Describes an event that is sent when an action is triggered.
Fields§
§name: String§state: ActionStateTrait Implementations§
§impl Clone for ActionEvent
 
impl Clone for ActionEvent
§fn clone(&self) -> ActionEvent
 
fn clone(&self) -> ActionEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read more§impl Debug for ActionEvent
 
impl Debug for ActionEvent
§impl<'de> Deserialize<'de> for ActionEvent
 
impl<'de> Deserialize<'de> for ActionEvent
§fn deserialize<__D>(
    __deserializer: __D
) -> Result<ActionEvent, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<ActionEvent, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl MessageType for ActionEvent
 
impl MessageType for ActionEvent
§const MESSAGE_META: MessageMeta = _
 
const MESSAGE_META: MessageMeta = _
The metadata for the message type.
§impl PartialEq for ActionEvent
 
impl PartialEq for ActionEvent
§fn eq(&self, other: &ActionEvent) -> bool
 
fn eq(&self, other: &ActionEvent) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.§impl Serialize for ActionEvent
 
impl Serialize for ActionEvent
§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 ActionEvent
impl StructuralPartialEq for ActionEvent
Auto Trait Implementations§
impl Freeze for ActionEvent
impl RefUnwindSafe for ActionEvent
impl Send for ActionEvent
impl Sync for ActionEvent
impl Unpin for ActionEvent
impl UnwindSafe for ActionEvent
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