pub struct SerialOutput {
pub id: String,
pub serial: String,
pub sku: String,
pub lot_id: Option<String>,
pub status: String,
pub owner_id: Option<String>,
pub location_id: Option<i32>,
pub created_at: String,
}Fields§
§id: String§serial: String§sku: String§lot_id: Option<String>§status: String§owner_id: Option<String>§location_id: Option<i32>§created_at: StringTrait Implementations§
Source§impl Clone for SerialOutput
impl Clone for SerialOutput
Source§fn clone(&self) -> SerialOutput
fn clone(&self) -> SerialOutput
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 SerialOutput
impl<'de> Deserialize<'de> for SerialOutput
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<SerialNumber> for SerialOutput
impl From<SerialNumber> for SerialOutput
Source§fn from(s: SerialNumber) -> Self
fn from(s: SerialNumber) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for SerialOutput
impl FromNapiValue for SerialOutput
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 SerialOutput
impl Serialize for SerialOutput
Source§impl ToNapiValue for SerialOutput
impl ToNapiValue for SerialOutput
Source§unsafe fn to_napi_value(env: napi_env, val: SerialOutput) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: SerialOutput) -> Result<napi_value>
Safety Read more
Source§impl TypeName for SerialOutput
impl TypeName for SerialOutput
Source§impl ValidateNapiValue for SerialOutput
impl ValidateNapiValue for SerialOutput
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 SerialOutput
impl RefUnwindSafe for SerialOutput
impl Send for SerialOutput
impl Sync for SerialOutput
impl Unpin for SerialOutput
impl UnsafeUnpin for SerialOutput
impl UnwindSafe for SerialOutput
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