[][src]Struct firefly_iii::models::rule_trigger::RuleTrigger

pub struct RuleTrigger {
    pub id: Option<i32>,
    pub created_at: Option<String>,
    pub updated_at: Option<String>,
    pub _type: Type,
    pub value: String,
    pub order: Option<i32>,
    pub active: Option<bool>,
    pub stop_processing: Option<bool>,
}

Fields

id: Option<i32>created_at: Option<String>updated_at: Option<String>_type: Type

The type of thing this trigger responds to. A limited set is possible

value: String

The accompanying value the trigger responds to. This value is often mandatory, but this depends on the trigger.

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.

Methods

impl RuleTrigger[src]

pub fn new(_type: Type, value: String) -> RuleTrigger[src]

Trait Implementations

impl Debug for RuleTrigger[src]

impl<'de> Deserialize<'de> for RuleTrigger[src]

impl PartialEq<RuleTrigger> for RuleTrigger[src]

impl Serialize for RuleTrigger[src]

impl StructuralPartialEq for RuleTrigger[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.