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