pub struct EventHandler {
pub actions: Vec<Action>,
pub active: Option<bool>,
pub condition: String,
pub evaluator_type: EvaluatorType,
pub event: String,
pub name: String,
}Fields§
§actions: Vec<Action>§active: Option<bool>§condition: String§evaluator_type: EvaluatorType§event: String§name: StringTrait Implementations§
Source§impl Clone for EventHandler
impl Clone for EventHandler
Source§fn clone(&self) -> EventHandler
fn clone(&self) -> EventHandler
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 EventHandler
impl Debug for EventHandler
Source§impl Default for EventHandler
impl Default for EventHandler
Source§fn default() -> EventHandler
fn default() -> EventHandler
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventHandler
impl<'de> Deserialize<'de> for EventHandler
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 EventHandler
impl PartialEq for EventHandler
Source§fn eq(&self, other: &EventHandler) -> bool
fn eq(&self, other: &EventHandler) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventHandler
impl Serialize for EventHandler
impl StructuralPartialEq for EventHandler
Auto Trait Implementations§
impl Freeze for EventHandler
impl RefUnwindSafe for EventHandler
impl Send for EventHandler
impl Sync for EventHandler
impl Unpin for EventHandler
impl UnsafeUnpin for EventHandler
impl UnwindSafe for EventHandler
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