pub struct CreateQualityHoldInput {
pub sku: String,
pub lot_number: Option<String>,
pub quantity_held: f64,
pub reason: String,
pub hold_type: String,
pub placed_by: Option<String>,
pub location_id: Option<i32>,
}Fields§
§sku: String§lot_number: Option<String>§quantity_held: f64§reason: String§hold_type: String§placed_by: Option<String>§location_id: Option<i32>Trait Implementations§
Source§impl Clone for CreateQualityHoldInput
impl Clone for CreateQualityHoldInput
Source§fn clone(&self) -> CreateQualityHoldInput
fn clone(&self) -> CreateQualityHoldInput
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 CreateQualityHoldInput
impl<'de> Deserialize<'de> for CreateQualityHoldInput
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 CreateQualityHoldInput
impl FromNapiValue for CreateQualityHoldInput
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 CreateQualityHoldInput
impl Serialize for CreateQualityHoldInput
Source§impl ToNapiValue for CreateQualityHoldInput
impl ToNapiValue for CreateQualityHoldInput
Source§unsafe fn to_napi_value(
env: napi_env,
val: CreateQualityHoldInput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: CreateQualityHoldInput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for CreateQualityHoldInput
impl TypeName for CreateQualityHoldInput
Source§impl ValidateNapiValue for CreateQualityHoldInput
impl ValidateNapiValue for CreateQualityHoldInput
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 CreateQualityHoldInput
impl RefUnwindSafe for CreateQualityHoldInput
impl Send for CreateQualityHoldInput
impl Sync for CreateQualityHoldInput
impl Unpin for CreateQualityHoldInput
impl UnsafeUnpin for CreateQualityHoldInput
impl UnwindSafe for CreateQualityHoldInput
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