pub struct JobRevision {
pub revision_id: String,
pub job_id: String,
pub revision_number: i32,
pub changed_at: DateTime<Utc>,
pub changed_by_actor_json: Value,
pub snapshot_json: Value,
}Expand description
A revision of a job’s configuration.
Every configuration change creates a new revision for audit purposes.
Fields§
§revision_id: StringUnique identifier (UUID).
job_id: StringJob this revision belongs to.
revision_number: i32Sequential revision number (1, 2, 3…).
changed_at: DateTime<Utc>When this revision was created.
changed_by_actor_json: ValueWho made this change (serialized Actor).
snapshot_json: ValueFull snapshot of the job configuration at this revision.
Implementations§
Trait Implementations§
Source§impl Clone for JobRevision
impl Clone for JobRevision
Source§fn clone(&self) -> JobRevision
fn clone(&self) -> JobRevision
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 JobRevision
impl Debug for JobRevision
Source§impl<'de> Deserialize<'de> for JobRevision
impl<'de> Deserialize<'de> for JobRevision
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 JobRevision
impl RefUnwindSafe for JobRevision
impl Send for JobRevision
impl Sync for JobRevision
impl Unpin for JobRevision
impl UnsafeUnpin for JobRevision
impl UnwindSafe for JobRevision
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