pub struct UpdateWorkOrderTask {
pub sequence: Option<i32>,
pub task_name: Option<String>,
pub status: Option<TaskStatus>,
pub estimated_hours: Option<Decimal>,
pub actual_hours: Option<Decimal>,
pub assigned_to: Option<Uuid>,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
pub notes: Option<String>,
}Expand description
Input for updating a work order task
Fields§
§sequence: Option<i32>§task_name: Option<String>§status: Option<TaskStatus>§estimated_hours: Option<Decimal>§actual_hours: Option<Decimal>§assigned_to: Option<Uuid>§started_at: Option<DateTime<Utc>>§completed_at: Option<DateTime<Utc>>§notes: Option<String>Trait Implementations§
Source§impl Clone for UpdateWorkOrderTask
impl Clone for UpdateWorkOrderTask
Source§fn clone(&self) -> UpdateWorkOrderTask
fn clone(&self) -> UpdateWorkOrderTask
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 UpdateWorkOrderTask
impl Debug for UpdateWorkOrderTask
Source§impl Default for UpdateWorkOrderTask
impl Default for UpdateWorkOrderTask
Source§fn default() -> UpdateWorkOrderTask
fn default() -> UpdateWorkOrderTask
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateWorkOrderTask
impl<'de> Deserialize<'de> for UpdateWorkOrderTask
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateWorkOrderTask, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateWorkOrderTask, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateWorkOrderTask
impl Serialize for UpdateWorkOrderTask
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for UpdateWorkOrderTask
impl RefUnwindSafe for UpdateWorkOrderTask
impl Send for UpdateWorkOrderTask
impl Sync for UpdateWorkOrderTask
impl Unpin for UpdateWorkOrderTask
impl UnsafeUnpin for UpdateWorkOrderTask
impl UnwindSafe for UpdateWorkOrderTask
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