pub struct WorkOrderOutput {
pub id: String,
pub work_order_number: String,
pub product_id: String,
pub bom_id: Option<String>,
pub status: String,
pub priority: String,
pub quantity_to_build: f64,
pub quantity_completed: f64,
pub version: i32,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§work_order_number: String§product_id: String§bom_id: Option<String>§status: String§priority: String§quantity_to_build: f64§quantity_completed: f64§version: i32§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for WorkOrderOutput
impl Clone for WorkOrderOutput
Source§fn clone(&self) -> WorkOrderOutput
fn clone(&self) -> WorkOrderOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for WorkOrderOutput
impl<'de> Deserialize<'de> for WorkOrderOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<WorkOrder> for WorkOrderOutput
impl From<WorkOrder> for WorkOrderOutput
Source§impl FromNapiValue for WorkOrderOutput
impl FromNapiValue for WorkOrderOutput
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl Serialize for WorkOrderOutput
impl Serialize for WorkOrderOutput
Source§impl ToNapiValue for WorkOrderOutput
impl ToNapiValue for WorkOrderOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: WorkOrderOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: WorkOrderOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for WorkOrderOutput
impl TypeName for WorkOrderOutput
Source§impl ValidateNapiValue for WorkOrderOutput
impl ValidateNapiValue for WorkOrderOutput
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for WorkOrderOutput
impl RefUnwindSafe for WorkOrderOutput
impl Send for WorkOrderOutput
impl Sync for WorkOrderOutput
impl Unpin for WorkOrderOutput
impl UnsafeUnpin for WorkOrderOutput
impl UnwindSafe for WorkOrderOutput
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