pub struct RequestFieldUpdates<'a> {Show 15 fields
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub schedule_date: Option<DateTime<Utc>>,
pub schedule_end: Option<DateTime<Utc>>,
pub duration: Option<Decimal>,
pub owner_user_id: Option<Uuid>,
pub user_id: Option<Uuid>,
pub asset_id: Option<Uuid>,
pub priority: Option<&'a str>,
pub maintenance_type: Option<&'a str>,
pub recurring: Option<bool>,
pub repeat_interval: Option<i32>,
pub repeat_unit: Option<&'a str>,
pub repeat_type: Option<&'a str>,
pub repeat_until: Option<NaiveDate>,
}Expand description
The recurrence/descriptive fields update_request may change. None leaves the column unchanged
(COALESCE at the DB). The lifecycle columns — stage_id, kanban_state, close_date, the successor
markers — are deliberately absent: they belong to the transition verb and the spawn engine.
Fields§
§name: Option<&'a str>§description: Option<&'a str>§schedule_date: Option<DateTime<Utc>>§schedule_end: Option<DateTime<Utc>>§duration: Option<Decimal>§owner_user_id: Option<Uuid>§user_id: Option<Uuid>§asset_id: Option<Uuid>§priority: Option<&'a str>§maintenance_type: Option<&'a str>§recurring: Option<bool>§repeat_interval: Option<i32>§repeat_unit: Option<&'a str>§repeat_type: Option<&'a str>§repeat_until: Option<NaiveDate>Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RequestFieldUpdates<'a>
impl<'a> RefUnwindSafe for RequestFieldUpdates<'a>
impl<'a> Send for RequestFieldUpdates<'a>
impl<'a> Sync for RequestFieldUpdates<'a>
impl<'a> Unpin for RequestFieldUpdates<'a>
impl<'a> UnsafeUnpin for RequestFieldUpdates<'a>
impl<'a> UnwindSafe for RequestFieldUpdates<'a>
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