pub struct TriggerSummary {
pub name: String,
pub condition_type: String,
pub enabled: bool,
pub fire_count: u64,
pub created_at: DateTime<Utc>,
}Expand description
Summary information about a trigger (for listing).
Fields§
§name: StringHuman-readable name.
condition_type: StringDescription of the condition.
enabled: boolWhether active.
fire_count: u64How many times fired.
created_at: DateTime<Utc>When created.
Trait Implementations§
Source§impl Clone for TriggerSummary
impl Clone for TriggerSummary
Source§fn clone(&self) -> TriggerSummary
fn clone(&self) -> TriggerSummary
Returns a duplicate 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 moreSource§impl Debug for TriggerSummary
impl Debug for TriggerSummary
Source§impl<'de> Deserialize<'de> for TriggerSummary
impl<'de> Deserialize<'de> for TriggerSummary
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
Auto Trait Implementations§
impl Freeze for TriggerSummary
impl RefUnwindSafe for TriggerSummary
impl Send for TriggerSummary
impl Sync for TriggerSummary
impl Unpin for TriggerSummary
impl UnsafeUnpin for TriggerSummary
impl UnwindSafe for TriggerSummary
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