pub struct RequestTransitionRow {Show 20 fields
pub name: String,
pub description: Option<String>,
pub schedule_date: Option<DateTime<Utc>>,
pub schedule_end: Option<DateTime<Utc>>,
pub close_date: Option<NaiveDate>,
pub duration: Decimal,
pub owner_user_id: Option<Uuid>,
pub user_id: Option<Uuid>,
pub asset_id: Option<Uuid>,
pub stage_id: Uuid,
pub kanban_state: String,
pub priority: String,
pub maintenance_type: String,
pub recurring: bool,
pub repeat_interval: i32,
pub repeat_unit: String,
pub repeat_type: String,
pub repeat_until: Option<NaiveDate>,
pub successor_request_id: Option<Uuid>,
pub stage_done: bool,
}Expand description
A request’s full state as the transition path reads it — stage_done joins in the CURRENT stage’s
done flag (the canonical closed flag the engine keys off).
Fields§
§name: String§description: Option<String>§schedule_date: Option<DateTime<Utc>>§schedule_end: Option<DateTime<Utc>>§close_date: Option<NaiveDate>§duration: Decimal§owner_user_id: Option<Uuid>§user_id: Option<Uuid>§asset_id: Option<Uuid>§stage_id: Uuid§kanban_state: String§priority: String§maintenance_type: String§recurring: bool§repeat_interval: i32§repeat_unit: String§repeat_type: String§repeat_until: Option<NaiveDate>§successor_request_id: Option<Uuid>§stage_done: boolWhether the request’s CURRENT stage is a done (closing) stage.
Auto Trait Implementations§
impl Freeze for RequestTransitionRow
impl RefUnwindSafe for RequestTransitionRow
impl Send for RequestTransitionRow
impl Sync for RequestTransitionRow
impl Unpin for RequestTransitionRow
impl UnsafeUnpin for RequestTransitionRow
impl UnwindSafe for RequestTransitionRow
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 more