pub struct RuleTriggerUpdate {
pub type: Option<RuleTriggerKeyword>,
pub value: Option<String>,
pub order: Option<i32>,
pub active: Option<bool>,
pub stop_processing: Option<bool>,
}Fields§
§type: Option<RuleTriggerKeyword>§value: Option<String>The accompanying value the trigger responds to. This value is often mandatory, but this depends on the trigger. If the rule trigger is something like ‘has any tag’, submit the string ‘true’.
order: Option<i32>Order of the trigger
active: Option<bool>If the trigger is active.
stop_processing: Option<bool>When true, other triggers will not be checked if this trigger was triggered.
Implementations§
Source§impl RuleTriggerUpdate
impl RuleTriggerUpdate
pub fn new() -> RuleTriggerUpdate
Trait Implementations§
Source§impl Clone for RuleTriggerUpdate
impl Clone for RuleTriggerUpdate
Source§impl Debug for RuleTriggerUpdate
impl Debug for RuleTriggerUpdate
Source§impl Default for RuleTriggerUpdate
impl Default for RuleTriggerUpdate
Source§impl<'de> Deserialize<'de> for RuleTriggerUpdate
impl<'de> Deserialize<'de> for RuleTriggerUpdate
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 Display for RuleTriggerUpdate
impl Display for RuleTriggerUpdate
Source§impl PartialEq for RuleTriggerUpdate
impl PartialEq for RuleTriggerUpdate
Source§impl Serialize for RuleTriggerUpdate
impl Serialize for RuleTriggerUpdate
impl StructuralPartialEq for RuleTriggerUpdate
Auto Trait Implementations§
impl Freeze for RuleTriggerUpdate
impl RefUnwindSafe for RuleTriggerUpdate
impl Send for RuleTriggerUpdate
impl Sync for RuleTriggerUpdate
impl Unpin for RuleTriggerUpdate
impl UnsafeUnpin for RuleTriggerUpdate
impl UnwindSafe for RuleTriggerUpdate
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