pub enum TriggerBody {
Command {
into: String,
op: String,
condition: Option<Value>,
data: Value,
},
Callback {
fn_ref: String,
args: Value,
},
}Variants§
Trait Implementations§
Source§impl Clone for TriggerBody
impl Clone for TriggerBody
Auto Trait Implementations§
impl Freeze for TriggerBody
impl RefUnwindSafe for TriggerBody
impl Send for TriggerBody
impl Sync for TriggerBody
impl Unpin for TriggerBody
impl UnsafeUnpin for TriggerBody
impl UnwindSafe for TriggerBody
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