pub struct UpdateWorkOrder {
pub work_center_id: Option<String>,
pub assigned_to: Option<Uuid>,
pub status: Option<WorkOrderStatus>,
pub priority: Option<WorkOrderPriority>,
pub quantity_to_build: Option<Decimal>,
pub quantity_completed: Option<Decimal>,
pub scheduled_start: Option<DateTime<Utc>>,
pub scheduled_end: Option<DateTime<Utc>>,
pub actual_start: Option<DateTime<Utc>>,
pub actual_end: Option<DateTime<Utc>>,
pub notes: Option<String>,
}Expand description
Input for updating a work order
Fields§
§work_center_id: Option<String>§assigned_to: Option<Uuid>§status: Option<WorkOrderStatus>§priority: Option<WorkOrderPriority>§quantity_to_build: Option<Decimal>§quantity_completed: Option<Decimal>§scheduled_start: Option<DateTime<Utc>>§scheduled_end: Option<DateTime<Utc>>§actual_start: Option<DateTime<Utc>>§actual_end: Option<DateTime<Utc>>§notes: Option<String>Trait Implementations§
Source§impl Clone for UpdateWorkOrder
impl Clone for UpdateWorkOrder
Source§fn clone(&self) -> UpdateWorkOrder
fn clone(&self) -> UpdateWorkOrder
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 UpdateWorkOrder
impl Debug for UpdateWorkOrder
Source§impl Default for UpdateWorkOrder
impl Default for UpdateWorkOrder
Source§fn default() -> UpdateWorkOrder
fn default() -> UpdateWorkOrder
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateWorkOrder
impl<'de> Deserialize<'de> for UpdateWorkOrder
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateWorkOrder, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateWorkOrder, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateWorkOrder
impl Serialize for UpdateWorkOrder
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 UpdateWorkOrder
impl RefUnwindSafe for UpdateWorkOrder
impl Send for UpdateWorkOrder
impl Sync for UpdateWorkOrder
impl Unpin for UpdateWorkOrder
impl UnsafeUnpin for UpdateWorkOrder
impl UnwindSafe for UpdateWorkOrder
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