pub struct NcrOutput {
pub id: String,
pub ncr_number: String,
pub source: String,
pub severity: String,
pub sku: String,
pub quantity_affected: f64,
pub status: String,
pub description: String,
pub created_at: String,
}Fields§
§id: String§ncr_number: String§source: String§severity: String§sku: String§quantity_affected: f64§status: String§description: String§created_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for NcrOutput
impl<'de> Deserialize<'de> for NcrOutput
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<NonConformance> for NcrOutput
impl From<NonConformance> for NcrOutput
Source§fn from(n: NonConformance) -> Self
fn from(n: NonConformance) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for NcrOutput
impl FromNapiValue for NcrOutput
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 ToNapiValue for NcrOutput
impl ToNapiValue for NcrOutput
Source§unsafe fn to_napi_value(env: napi_env, val: NcrOutput) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: NcrOutput) -> Result<napi_value>
Safety Read more
Source§impl ValidateNapiValue for NcrOutput
impl ValidateNapiValue for NcrOutput
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 NcrOutput
impl RefUnwindSafe for NcrOutput
impl Send for NcrOutput
impl Sync for NcrOutput
impl Unpin for NcrOutput
impl UnsafeUnpin for NcrOutput
impl UnwindSafe for NcrOutput
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