pub struct QualityHoldOutput {
pub id: String,
pub sku: String,
pub lot_number: Option<String>,
pub quantity_held: f64,
pub reason: String,
pub hold_type: String,
pub status: String,
pub placed_at: String,
}Fields§
§id: String§sku: String§lot_number: Option<String>§quantity_held: f64§reason: String§hold_type: String§status: String§placed_at: StringTrait Implementations§
Source§impl Clone for QualityHoldOutput
impl Clone for QualityHoldOutput
Source§fn clone(&self) -> QualityHoldOutput
fn clone(&self) -> QualityHoldOutput
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 QualityHoldOutput
impl<'de> Deserialize<'de> for QualityHoldOutput
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<QualityHold> for QualityHoldOutput
impl From<QualityHold> for QualityHoldOutput
Source§fn from(h: QualityHold) -> Self
fn from(h: QualityHold) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for QualityHoldOutput
impl FromNapiValue for QualityHoldOutput
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 QualityHoldOutput
impl Serialize for QualityHoldOutput
Source§impl ToNapiValue for QualityHoldOutput
impl ToNapiValue for QualityHoldOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: QualityHoldOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: QualityHoldOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for QualityHoldOutput
impl TypeName for QualityHoldOutput
Source§impl ValidateNapiValue for QualityHoldOutput
impl ValidateNapiValue for QualityHoldOutput
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 QualityHoldOutput
impl RefUnwindSafe for QualityHoldOutput
impl Send for QualityHoldOutput
impl Sync for QualityHoldOutput
impl Unpin for QualityHoldOutput
impl UnsafeUnpin for QualityHoldOutput
impl UnwindSafe for QualityHoldOutput
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