pub struct CreateWorkOrderInput {
pub product_id: String,
pub bom_id: Option<String>,
pub quantity_to_build: f64,
pub priority: Option<String>,
pub notes: Option<String>,
}Fields§
§product_id: String§bom_id: Option<String>§quantity_to_build: f64§priority: Option<String>§notes: Option<String>Trait Implementations§
Source§impl Clone for CreateWorkOrderInput
impl Clone for CreateWorkOrderInput
Source§fn clone(&self) -> CreateWorkOrderInput
fn clone(&self) -> CreateWorkOrderInput
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 CreateWorkOrderInput
impl<'de> Deserialize<'de> for CreateWorkOrderInput
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 FromNapiValue for CreateWorkOrderInput
impl FromNapiValue for CreateWorkOrderInput
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 CreateWorkOrderInput
impl Serialize for CreateWorkOrderInput
Source§impl ToNapiValue for CreateWorkOrderInput
impl ToNapiValue for CreateWorkOrderInput
Source§unsafe fn to_napi_value(
env: napi_env,
val: CreateWorkOrderInput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: CreateWorkOrderInput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for CreateWorkOrderInput
impl TypeName for CreateWorkOrderInput
Source§impl ValidateNapiValue for CreateWorkOrderInput
impl ValidateNapiValue for CreateWorkOrderInput
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 CreateWorkOrderInput
impl RefUnwindSafe for CreateWorkOrderInput
impl Send for CreateWorkOrderInput
impl Sync for CreateWorkOrderInput
impl Unpin for CreateWorkOrderInput
impl UnsafeUnpin for CreateWorkOrderInput
impl UnwindSafe for CreateWorkOrderInput
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