pub struct InventoryHealthOutput {
pub total_skus: u32,
pub in_stock_skus: u32,
pub low_stock_skus: u32,
pub out_of_stock_skus: u32,
pub total_value: f64,
}Fields§
§total_skus: u32§in_stock_skus: u32§low_stock_skus: u32§out_of_stock_skus: u32§total_value: f64Trait Implementations§
Source§impl Clone for InventoryHealthOutput
impl Clone for InventoryHealthOutput
Source§fn clone(&self) -> InventoryHealthOutput
fn clone(&self) -> InventoryHealthOutput
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 FromNapiValue for InventoryHealthOutput
impl FromNapiValue for InventoryHealthOutput
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 InventoryHealthOutput
impl Serialize for InventoryHealthOutput
Source§impl ToNapiValue for InventoryHealthOutput
impl ToNapiValue for InventoryHealthOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: InventoryHealthOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: InventoryHealthOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for InventoryHealthOutput
impl TypeName for InventoryHealthOutput
Source§impl ValidateNapiValue for InventoryHealthOutput
impl ValidateNapiValue for InventoryHealthOutput
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 InventoryHealthOutput
impl RefUnwindSafe for InventoryHealthOutput
impl Send for InventoryHealthOutput
impl Sync for InventoryHealthOutput
impl Unpin for InventoryHealthOutput
impl UnsafeUnpin for InventoryHealthOutput
impl UnwindSafe for InventoryHealthOutput
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