pub struct BomOutput {
pub id: String,
pub bom_number: String,
pub name: String,
pub product_id: String,
pub status: String,
pub revision: String,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§bom_number: String§name: String§product_id: String§status: String§revision: String§created_at: String§updated_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for BomOutput
impl<'de> Deserialize<'de> for BomOutput
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<BillOfMaterials> for BomOutput
impl From<BillOfMaterials> for BomOutput
Source§fn from(bom: BillOfMaterials) -> Self
fn from(bom: BillOfMaterials) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for BomOutput
impl FromNapiValue for BomOutput
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 BomOutput
impl ToNapiValue for BomOutput
Source§unsafe fn to_napi_value(env: napi_env, val: BomOutput) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: BomOutput) -> Result<napi_value>
Safety Read more
Source§impl ValidateNapiValue for BomOutput
impl ValidateNapiValue for BomOutput
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 BomOutput
impl RefUnwindSafe for BomOutput
impl Send for BomOutput
impl Sync for BomOutput
impl Unpin for BomOutput
impl UnsafeUnpin for BomOutput
impl UnwindSafe for BomOutput
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