pub struct ProcessDefDb {
pub uuid: Uuid,
pub created_at: DateTime<Utc>,
pub key_: String,
pub version: String,
pub index_id: i32,
pub status: String,
pub effective_from: DateTime<Utc>,
pub deprecated_at: Option<DateTime<Utc>>,
pub version_comment: Option<String>,
pub definition: Value,
}Expand description
Database row containing a compiled definition and version metadata.
Fields§
§uuid: UuidDatabase row identity.
created_at: DateTime<Utc>UTC time when the row was created.
key_: StringProcess definition key stored under the SQL column name.
version: StringNormalized process definition version.
index_id: i32Insertion-order index for versions of the same process key.
status: StringStored lifecycle status of this definition version.
effective_from: DateTime<Utc>UTC time from which this definition can be selected.
deprecated_at: Option<DateTime<Utc>>UTC time after which this definition is excluded from runtime selection.
version_comment: Option<String>Human-readable notes supplied by the version metadata.
definition: ValueCompiled workflow definition as JSON.
Trait Implementations§
Source§impl Debug for ProcessDefDb
impl Debug for ProcessDefDb
Source§impl<'a, R: Row> FromRow<'a, R> for ProcessDefDbwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
Option<DateTime<Utc>>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Value: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for ProcessDefDbwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
Option<DateTime<Utc>>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Value: Decode<'a, R::Database> + Type<R::Database>,
Source§impl PartialEq for ProcessDefDb
impl PartialEq for ProcessDefDb
impl StructuralPartialEq for ProcessDefDb
Source§impl TryInto<ProcessDefinition> for ProcessDefDb
impl TryInto<ProcessDefinition> for ProcessDefDb
Source§type Error = CreateProcessError
type Error = CreateProcessError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for ProcessDefDb
impl Freeze for ProcessDefDb
impl Move for ProcessDefDb
impl RefUnwindSafe for ProcessDefDb
impl Send for ProcessDefDb
impl Sync for ProcessDefDb
impl Unpin for ProcessDefDb
impl UnsafeUnpin for ProcessDefDb
impl UnwindSafe for ProcessDefDb
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.