pub struct ReceiptOutput {
pub id: String,
pub receipt_number: String,
pub receipt_type: String,
pub warehouse_id: i32,
pub status: String,
pub carrier: Option<String>,
pub tracking_number: Option<String>,
pub created_at: String,
}Fields§
§id: String§receipt_number: String§receipt_type: String§warehouse_id: i32§status: String§carrier: Option<String>§tracking_number: Option<String>§created_at: StringTrait Implementations§
Source§impl Clone for ReceiptOutput
impl Clone for ReceiptOutput
Source§fn clone(&self) -> ReceiptOutput
fn clone(&self) -> ReceiptOutput
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 ReceiptOutput
impl<'de> Deserialize<'de> for ReceiptOutput
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<Receipt> for ReceiptOutput
impl From<Receipt> for ReceiptOutput
Source§impl FromNapiValue for ReceiptOutput
impl FromNapiValue for ReceiptOutput
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 ReceiptOutput
impl Serialize for ReceiptOutput
Source§impl ToNapiValue for ReceiptOutput
impl ToNapiValue for ReceiptOutput
Source§unsafe fn to_napi_value(env: napi_env, val: ReceiptOutput) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: ReceiptOutput) -> Result<napi_value>
Safety Read more
Source§impl TypeName for ReceiptOutput
impl TypeName for ReceiptOutput
Source§impl ValidateNapiValue for ReceiptOutput
impl ValidateNapiValue for ReceiptOutput
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 ReceiptOutput
impl RefUnwindSafe for ReceiptOutput
impl Send for ReceiptOutput
impl Sync for ReceiptOutput
impl Unpin for ReceiptOutput
impl UnsafeUnpin for ReceiptOutput
impl UnwindSafe for ReceiptOutput
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