pub enum AuditEventKind {
Show 17 variants
JobAdded {
job_id: Uuid,
job_type_id: String,
},
JobCancelled {
job_id: Uuid,
},
JobDeleted {
job_id: Uuid,
},
ExecutionAdded {
execution_id: Uuid,
job_id: Uuid,
target_execution_time: SystemTime,
},
ExecutionReady {
execution_id: Uuid,
},
ExecutionAssigned {
execution_id: Uuid,
executor_id: Uuid,
},
ExecutionStarted {
execution_id: Uuid,
},
ExecutionSucceeded {
execution_id: Uuid,
},
ExecutionFailed {
execution_id: Uuid,
terminal: bool,
},
ExecutorConnected {
executor_id: Uuid,
},
ExecutorDisconnected {
executor_id: Uuid,
},
ScheduleAdded {
schedule_id: Uuid,
},
ScheduleCancelled {
schedule_id: Uuid,
},
ScheduleUnschedulable {
schedule_id: Uuid,
},
ScheduleDeleted {
schedule_id: Uuid,
},
SnapshotExported,
SnapshotImported,
}
Expand description
The kind of event that occurred.
Variants§
JobAdded
A job was created.
Fields
JobCancelled
A job was cancelled.
JobDeleted
A job was deleted.
ExecutionAdded
A new execution was scheduled for a job.
Fields
§
target_execution_time: SystemTime
The target execution time.
ExecutionReady
An execution is ready to be executed.
ExecutionAssigned
An execution was assigned to an executor.
ExecutionStarted
An execution was started by an executor.
ExecutionSucceeded
An execution has succeeded.
ExecutionFailed
An execution has failed.
Fields
ExecutorConnected
An executor has connected.
ExecutorDisconnected
An executor has disconnected.
ScheduleAdded
A schedule was created.
ScheduleCancelled
A schedule was cancelled.
ScheduleUnschedulable
A schedule was marked as unschedulable and no more jobs will be created from it.
ScheduleDeleted
Schedule was deleted.
SnapshotExported
A snapshot was exported.
SnapshotImported
A snapshot was imported.
Trait Implementations§
Source§impl Clone for AuditEventKind
impl Clone for AuditEventKind
Source§fn clone(&self) -> AuditEventKind
fn clone(&self) -> AuditEventKind
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 AuditEventKind
impl Debug for AuditEventKind
Source§impl<'de> Deserialize<'de> for AuditEventKind
impl<'de> Deserialize<'de> for AuditEventKind
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 AuditEventKind
impl PartialEq for AuditEventKind
Source§impl Serialize for AuditEventKind
impl Serialize for AuditEventKind
impl Eq for AuditEventKind
impl StructuralPartialEq for AuditEventKind
Auto Trait Implementations§
impl Freeze for AuditEventKind
impl RefUnwindSafe for AuditEventKind
impl Send for AuditEventKind
impl Sync for AuditEventKind
impl Unpin for AuditEventKind
impl UnwindSafe for AuditEventKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request