pub struct TriggerHistoryEntry {
pub id: i64,
pub trigger_kind: String,
pub path: String,
pub operation: Operation,
pub source: Source,
pub username: Option<Option<String>>,
pub created_at: String,
pub changes: Option<Option<HashMap<String, Value>>>,
}Fields§
§id: i64§trigger_kind: String‘schedule’ or a trigger type (http, kafka, …)
path: String§operation: Operation§source: SourceThe kind of client the change came from. worker means the server disabled the trigger on its own after a failure.
username: Option<Option<String>>Unset when the server acted on its own.
created_at: String§changes: Option<Option<HashMap<String, Value>>>{field: {old, new}} for the fields that actually changed. Unset for a delete.
Implementations§
Trait Implementations§
Source§impl Clone for TriggerHistoryEntry
impl Clone for TriggerHistoryEntry
Source§fn clone(&self) -> TriggerHistoryEntry
fn clone(&self) -> TriggerHistoryEntry
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 TriggerHistoryEntry
impl Debug for TriggerHistoryEntry
Source§impl Default for TriggerHistoryEntry
impl Default for TriggerHistoryEntry
Source§fn default() -> TriggerHistoryEntry
fn default() -> TriggerHistoryEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TriggerHistoryEntry
impl<'de> Deserialize<'de> for TriggerHistoryEntry
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 TriggerHistoryEntry
impl PartialEq for TriggerHistoryEntry
Source§impl Serialize for TriggerHistoryEntry
impl Serialize for TriggerHistoryEntry
impl StructuralPartialEq for TriggerHistoryEntry
Auto Trait Implementations§
impl Freeze for TriggerHistoryEntry
impl RefUnwindSafe for TriggerHistoryEntry
impl Send for TriggerHistoryEntry
impl Sync for TriggerHistoryEntry
impl Unpin for TriggerHistoryEntry
impl UnsafeUnpin for TriggerHistoryEntry
impl UnwindSafe for TriggerHistoryEntry
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